<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Failure to locate configuration file when using spark-submit task in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/89748#M37895</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are trying to run a job with a&amp;nbsp;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&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;"spark.driver.extraJavaOptions=-Dconfig.file=application.conf and we are getting a&amp;nbsp;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?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 09:39:16 GMT</pubDate>
    <dc:creator>Tham99</dc:creator>
    <dc:date>2024-09-13T09:39:16Z</dc:date>
    <item>
      <title>Failure to locate configuration file when using spark-submit task</title>
      <link>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/89748#M37895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are trying to run a job with a&amp;nbsp;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&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;"spark.driver.extraJavaOptions=-Dconfig.file=application.conf and we are getting a&amp;nbsp;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?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 09:39:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/89748#M37895</guid>
      <dc:creator>Tham99</dc:creator>
      <dc:date>2024-09-13T09:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to locate configuration file when using spark-submit task</title>
      <link>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/101818#M40846</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120663"&gt;@Tham99&lt;/a&gt;&amp;nbsp;thanks for your question!&lt;/P&gt;
&lt;P&gt;If masking sensitive data is possible, could you please share the Driver log with the exception?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 19:12:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/101818#M40846</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2024-12-11T19:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to locate configuration file when using spark-submit task</title>
      <link>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/101959#M40914</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120663"&gt;@Tham99&lt;/a&gt;&amp;nbsp;would it be possible to share the&amp;nbsp;&lt;SPAN&gt;java.io.FileNotFoundException stacktrace? And refernece from the Driver log about the file localization process.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:32:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/failure-to-locate-configuration-file-when-using-spark-submit/m-p/101959#M40914</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2024-12-12T17:32:35Z</dc:date>
    </item>
  </channel>
</rss>

