cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Spark submit job running python file

Kratik
New Contributor III

I have a spark submit job which is running one python file called main.py.

The other file is alert.py which is being imported in main.py.

Also main.py is using multiple config files.

Alert.py is passed in --py-files and other config files are passed as --files.

All the files are in S3. 

Need help in running the same in Databricks.

Trying bt spark submit task and spark python task, not sure how to pass --py-files and --files. And even on passing these in parameters, getting no module alert found. Which means it is not recognising any other files.

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group