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:ย 

Failure to locate configuration file when using spark-submit task

Tham99
New Contributor

Hello,

We are trying to run a job with a spark-sumit task on cluster mode, this spark submit task requires a configuration file application.conf that we provide using --files flag option in the spark-submit parameters and put an alias on it using \#application.conf (\ is just used to avoid highlight in this text box), we specify the configuration file using "spark.driver.extraJavaOptions=-Dconfig.file=application.conf and we are getting a java.io.FileNotFoundException each time, either this file is placed on DBFS or local file system. log4j logs show that file is fetched and copied with timestamp but then fails when main class tries to parse it. Any idea how to fix this issue?

Thanks in advance

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