<?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>question Re: My SparkConfigurations are not overwriting in my Spark driver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/328817#M230344</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93054"&gt;@SimonBergerard&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spark configuration parameters precedence (left is low and right is high) of the order is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;spark-defaults.conf --&amp;gt; spark-submit/spark-shell --&amp;gt; spark code (scala/java/python)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to see the parameter values you can run with &lt;STRONG&gt;--verbose&lt;/STRONG&gt; mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;spark-submit --verbose&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please recheck the spark-submit command and parameters once again.&lt;/P&gt;&lt;P&gt;--conf spark.eventLog.enabled=true&lt;/P&gt;&lt;P&gt;--conf&amp;nbsp;&lt;SPAN&gt;spark.eventLog.dir=&amp;lt;directory&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--conf&amp;nbsp;spark.submit.deployMode=cluster&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 06:04:20 GMT</pubDate>
    <dc:creator>RangaReddy</dc:creator>
    <dc:date>2021-10-26T06:04:20Z</dc:date>
    <item>
      <title>My SparkConfigurations are not overwriting in my Spark driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/328774#M230329</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run a spark job on Cloudera by overwriting some basics spark configurations. So I created a spark job with the following Configurations (optional):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;spark.eventLog.dir&lt;/EM&gt; = &lt;FONT color="#000000"&gt;myPath&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;spark.eventLog.enabled&lt;/EM&gt; = &lt;FONT color="#008000"&gt;true&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;spark.submit.deployMode&lt;/EM&gt; = &lt;FONT color="#0000FF"&gt;cluster&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have executed this job by running a cde cli command. The submitter keeps my overwriting values for these 3 Spark configurations but these values weren't retrieve in my Spark driver. For instance, I found a "default" &lt;STRONG&gt;tmpPath&lt;/STRONG&gt; for&amp;nbsp;&lt;EM&gt;spark.eventLog.dir&lt;/EM&gt; instead of &lt;STRONG&gt;myPath &lt;/STRONG&gt;and my driver used a client deployMode.&lt;/P&gt;&lt;P&gt;Some other configurations (like&amp;nbsp;spark.history.fs.logDirectory) were well overwriting at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have&amp;nbsp;you ever&amp;nbsp;met&amp;nbsp;this&amp;nbsp;problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="result.png" style="width: 298px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39792i3F2ECB494A0C8703/image-size/large?v=v2&amp;amp;px=999" role="button" title="result.png" alt="result.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="job_conf.png" style="width: 753px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39793iC0690D89CADA4508/image-size/large?v=v2&amp;amp;px=999" role="button" title="job_conf.png" alt="job_conf.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 21 Apr 2026 08:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/328774#M230329</guid>
      <dc:creator>SimonBergerard</dc:creator>
      <dc:date>2026-04-21T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: My SparkConfigurations are not overwriting in my Spark driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/328817#M230344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93054"&gt;@SimonBergerard&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spark configuration parameters precedence (left is low and right is high) of the order is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;spark-defaults.conf --&amp;gt; spark-submit/spark-shell --&amp;gt; spark code (scala/java/python)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to see the parameter values you can run with &lt;STRONG&gt;--verbose&lt;/STRONG&gt; mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;spark-submit --verbose&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please recheck the spark-submit command and parameters once again.&lt;/P&gt;&lt;P&gt;--conf spark.eventLog.enabled=true&lt;/P&gt;&lt;P&gt;--conf&amp;nbsp;&lt;SPAN&gt;spark.eventLog.dir=&amp;lt;directory&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--conf&amp;nbsp;spark.submit.deployMode=cluster&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 06:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/328817#M230344</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-10-26T06:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: My SparkConfigurations are not overwriting in my Spark driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/329159#M230403</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93054"&gt;@SimonBergerard&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 06:34:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/My-SparkConfigurations-are-not-overwriting-in-my-Spark/m-p/329159#M230403</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-10-29T06:34:29Z</dc:date>
    </item>
  </channel>
</rss>

