<?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.reloadable.aux.jars.path not working properly in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-reloadable-aux-jars-path-not-working-properly/m-p/59057#M66581</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that you are hitting &lt;A href="https://issues.apache.org/jira/browse/HIVE-14037" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-14037&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;HIVE-14037 has been fixed from CDH5.9.0 onwards.&lt;BR /&gt;&lt;BR /&gt;Did you create function with "USING JAR" keywords? If not, please give it a try to see if it will help.&lt;BR /&gt;&lt;BR /&gt;Otherwise, upgrade to latest CDH should help.</description>
    <pubDate>Mon, 21 Aug 2017 05:33:49 GMT</pubDate>
    <dc:creator>EricL</dc:creator>
    <dc:date>2017-08-21T05:33:49Z</dc:date>
    <item>
      <title>hive.reloadable.aux.jars.path not working properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-reloadable-aux-jars-path-not-working-properly/m-p/58812#M66580</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;&lt;P&gt;I have been struggling with this issue for the past week and running out of options, I hope somebody could help us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to use&amp;nbsp;hive.reloadable.aux.jars.path (introduced with&amp;nbsp;HIVE-7553 in Hive 0.14) to put some SerDes and UDFs into HiveServer2's classpath (so users don't need to ADD JAR for every query, and we don't need to restart HS2 to roll out new versions of our libraries).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;hive.reloadable.aux.jars.path to point at a local directory on HS2's filesystem and it shows up set correctly on the web ui. (hs2:10002/conf)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When connecting to HS2 via beeline, I can now do a show create table on tables using custom serdes, and doing a select * from tbl limit 10 (which basically gives a preview), so our jars have been successfully added to the classpath of our hive session. so far so good!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, this doesn't work whenever we run queries that launch mapreduce stages. The query compiles fine and starts, but the Mappers don't have the additional jars added to&amp;nbsp;&lt;EM&gt;their&amp;nbsp;&lt;/EM&gt;classpath so they fail when trying to read from the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I had a look at &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.hive.ql.exec.mr.ExecDriver&lt;/PRE&gt;&lt;P&gt;where all the magic is supposed to happen and I cannot figure out how reloadable jars are supposed to be added to the mapred tasks. Seems like it never happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using CDH 5.8.0&lt;/P&gt;&lt;P&gt;Appreciating any help on this! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:05:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-reloadable-aux-jars-path-not-working-properly/m-p/58812#M66580</guid>
      <dc:creator>zaboron</dc:creator>
      <dc:date>2022-09-16T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: hive.reloadable.aux.jars.path not working properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-reloadable-aux-jars-path-not-working-properly/m-p/59057#M66581</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that you are hitting &lt;A href="https://issues.apache.org/jira/browse/HIVE-14037" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-14037&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;HIVE-14037 has been fixed from CDH5.9.0 onwards.&lt;BR /&gt;&lt;BR /&gt;Did you create function with "USING JAR" keywords? If not, please give it a try to see if it will help.&lt;BR /&gt;&lt;BR /&gt;Otherwise, upgrade to latest CDH should help.</description>
      <pubDate>Mon, 21 Aug 2017 05:33:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-reloadable-aux-jars-path-not-working-properly/m-p/59057#M66581</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2017-08-21T05:33:49Z</dc:date>
    </item>
  </channel>
</rss>

