<?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 Re: spark config not working in job cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89247#M37740</link>
    <description>&lt;P&gt;No, 13.3 not working and has the same result.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 07:17:49 GMT</pubDate>
    <dc:creator>thot</dc:creator>
    <dc:date>2024-09-10T07:17:49Z</dc:date>
    <item>
      <title>spark config not working in job cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89235#M37735</link>
      <description>&lt;P&gt;I am trying to rename a delta table like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"spark.databricks.delta.alterTable.rename.enabledOnAWS"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark&lt;/SPAN&gt;&lt;SPAN&gt;.sql&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;db1&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;rz_test5&lt;/SPAN&gt; &lt;SPAN&gt;RENAME&lt;/SPAN&gt; &lt;SPAN&gt;TO&lt;/SPAN&gt; &lt;SPAN&gt;db1&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;rz_test6&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The data is on aws s3, that's why I have to use spark config in the notebook. This works fine in the interactive cluster.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But when I test it in a job using a job cluster it failed with error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;org.apache.hadoop.hive.ql.metadata.HiveException: Unable to alter table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The runtime for the interactive cluster is:&amp;nbsp;&lt;SPAN&gt;13.3 LTS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;no spark configuration in the cluster.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;The runtime for the job cluster in the job is:&amp;nbsp;&lt;SPAN&gt;14.3 LTS&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;no spark configuration in the cluster.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Both clusters use the same instance profile.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Sep 2024 03:04:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89235#M37735</guid>
      <dc:creator>thot</dc:creator>
      <dc:date>2024-09-10T03:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: spark config not working in job cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89243#M37739</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;it would be interesting to test with the same runtime version.&lt;BR /&gt;Does it work with a job running on a 13.3 ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 06:44:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89243#M37739</guid>
      <dc:creator>MaximeGendre</dc:creator>
      <dc:date>2024-09-10T06:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: spark config not working in job cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89247#M37740</link>
      <description>&lt;P&gt;No, 13.3 not working and has the same result.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:17:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-config-not-working-in-job-cluster/m-p/89247#M37740</guid>
      <dc:creator>thot</dc:creator>
      <dc:date>2024-09-10T07:17:49Z</dc:date>
    </item>
  </channel>
</rss>

