<?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: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405367#M252467</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34263"&gt;@JoseManuel&lt;/a&gt;&amp;nbsp;Thank you for the suggestion. I have added the Hive on Tez roles to all NODEMANAGER nodes, but unfortunately, the issue persists. The Spark3 action is still failing.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 08:55:16 GMT</pubDate>
    <dc:creator>leopetr</dc:creator>
    <dc:date>2025-04-03T08:55:16Z</dc:date>
    <item>
      <title>Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405129#M252415</link>
      <description>&lt;P&gt;In the context of Cloudera CDP, I've noticed that unlike CDH, YARN does not automatically distribute the hive-site.xml file to the nodes. This seems to be a change in configuration practices, but I'm not sure if this is the correct approach or if there's another recommended method to ensure the hive-site.xml file is properly distributed. Can someone confirm if it is necessary to configure it manually in CDP, or if there is another automated process that YARN handles for distributing the configuration file?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:20:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405129#M252415</guid>
      <dc:creator>mikecolux</dc:creator>
      <dc:date>2026-04-21T06:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405221#M252433</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/120998"&gt;@mikecolux&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;If you are using CDP and have Hive on Tez set up on the cluster then the Hive on Tez service will take care of this for you, and you will not need to configure anything manually.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 15:44:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405221#M252433</guid>
      <dc:creator>MGreen</dc:creator>
      <dc:date>2025-04-01T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405228#M252437</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/120998"&gt;@mikecolux&lt;/a&gt;&amp;nbsp;Adding to what&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34068"&gt;@MGreen&lt;/a&gt;&amp;nbsp;explained.&amp;nbsp; Make sure the Hive on TEZ Gateway role is deployed to the nodes where hive-site.xml is needed&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 16:27:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405228#M252437</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2025-04-01T16:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405262#M252440</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34263"&gt;@JoseManuel&lt;/a&gt;&amp;nbsp;for your answer, unfortunately this solution didn' work. I also add a detail: the &lt;EM&gt;hive-site.xml&lt;/EM&gt; file is not distributed in Spark jobs unless explicitly provided using the --files option in spark-submit (via spark-opts). If there are any additional configuration settings that need to be adjusted, I'd appreciate any guidance as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 08:48:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405262#M252440</guid>
      <dc:creator>mikecolux</dc:creator>
      <dc:date>2025-04-02T08:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405263#M252441</link>
      <description>&lt;P class=""&gt;I have a similar issue, but specifically with Spark 3 jobs launched via Oozie. In my case, the Spark 3 job is unable to find the hive-site.xml file, whereas I don’t encounter this problem when running queries via Hive on Tez or directly using spark3-shell.&lt;/P&gt;&lt;P class=""&gt;The only way I’ve found to resolve this is by explicitly adding the following configuration in the Oozie workflow:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;--files /etc/hive/conf/hive-site.xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 08:57:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405263#M252441</guid>
      <dc:creator>leopetr</dc:creator>
      <dc:date>2025-04-02T08:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405329#M252455</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/120998"&gt;@mikecolux&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If your job requires hive-site.xml, it is not necessary to copy the file to /etc/spark/conf. Instead, you can try exporting the following command, which will allow hive-site.xml to be picked from /etc/hive/conf whenever needed: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export HADOOP_CONF_DIR=$HADOOP_CONF_DIR:/etc/hadoop/conf:/etc/spark/conf/yarn-conf/*:/etc/hive/conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can test this approach in a specific job or session, and once it works, you can update the Spark configuration accordingly. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CM &amp;gt; Spark &amp;gt; Configuration &amp;gt;Spark Client Advanced Configuration Snippet (Safety Valve) for spark-conf/spark-env.sh &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 15:37:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405329#M252455</guid>
      <dc:creator>MGreen</dc:creator>
      <dc:date>2025-04-02T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405347#M252461</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111829"&gt;@leopetr&lt;/a&gt;&amp;nbsp;In the Oozie world, Spark3 actions are a different animal than HiveServer2 ones.&lt;/P&gt;&lt;P&gt;Spark actions need to specify the files and as long Hive on TEZ GW role is deployed to all NODEMANAGER nodes, that should work for you&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:47:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405347#M252461</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2025-04-02T19:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-site.xml Distribution in Cloudera CDP: Manual Configuration vs. YARN Automation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405367#M252467</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34263"&gt;@JoseManuel&lt;/a&gt;&amp;nbsp;Thank you for the suggestion. I have added the Hive on Tez roles to all NODEMANAGER nodes, but unfortunately, the issue persists. The Spark3 action is still failing.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 08:55:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-site-xml-Distribution-in-Cloudera-CDP-Manual/m-p/405367#M252467</guid>
      <dc:creator>leopetr</dc:creator>
      <dc:date>2025-04-03T08:55:16Z</dc:date>
    </item>
  </channel>
</rss>

