<?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) How to permanently add SerDe JARs to Hive? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96209#M59537</link>
    <description>&lt;P&gt;Here are some of the answers:&lt;/P&gt;&lt;P&gt;1. HIVE_AUX_JARS_PATH in the hive-env.sh or set on your shell (not hive cli) will override the one set by "hive.aux.jars.path" in hive-site.xml. However calling "hive -hiveconf hive.aux.jars.path=..." will override HIVE_AUX_JARS_PATH setting in hive-env.sh. Using "hive --auxpath ..." will append file to any settings you may have in HIVE_AUX_JARS_PATH.&lt;/P&gt;&lt;P&gt;2. Since we ship the Apache Hive binaries so hive.reloadable.aux.jars.path should be supported on any hive shipped since HDP 2.2.0.&lt;/P&gt;&lt;P&gt;3. "hdfs:///" is supported on add jar, doubt if hive.aux.jars.path supports it.&lt;/P&gt;&lt;P&gt;4. Wildcards are not supported in both hive.aux.jars.path and add jar.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2015 01:33:01 GMT</pubDate>
    <dc:creator>deepesh1</dc:creator>
    <dc:date>2015-10-30T01:33:01Z</dc:date>
    <item>
      <title>(hive) How to permanently add SerDe JARs to Hive?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96208#M59536</link>
      <description>&lt;P&gt;Regarding permanently adding custom JARs for Hive SerDes&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(Feel free to answer those which you now, and come back later to answer the rest.)&lt;/EM&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What is the difference between these, and do they conflict?
&lt;OL&gt;&lt;LI&gt;hive-env -&amp;gt; hive-env template -&amp;gt; HIVE_AUX_JARS_PATH&lt;/LI&gt;&lt;LI&gt;hive-site -&amp;gt; hive.aux.jars.path&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Is &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.reloadable.aux.jars.path"&gt;hive.reloadable.aux.jars.path&lt;/A&gt; supported?&lt;/LI&gt;&lt;LI&gt;Is hdfs:// supported as the path?&lt;/LI&gt;&lt;LI&gt;Are wildcards or open paths supported?&lt;OL&gt;&lt;LI&gt;e.g. /mydir/*.jar or /mydir&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;What other permanent methods are supported?&lt;/LI&gt;&lt;LI&gt;What other temporary methods are supported?
&lt;OL&gt;
&lt;LI&gt;Other than `add jar jarfile.jar`&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:59:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96208#M59536</guid>
      <dc:creator>sroberts</dc:creator>
      <dc:date>2015-10-29T23:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: (hive) How to permanently add SerDe JARs to Hive?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96209#M59537</link>
      <description>&lt;P&gt;Here are some of the answers:&lt;/P&gt;&lt;P&gt;1. HIVE_AUX_JARS_PATH in the hive-env.sh or set on your shell (not hive cli) will override the one set by "hive.aux.jars.path" in hive-site.xml. However calling "hive -hiveconf hive.aux.jars.path=..." will override HIVE_AUX_JARS_PATH setting in hive-env.sh. Using "hive --auxpath ..." will append file to any settings you may have in HIVE_AUX_JARS_PATH.&lt;/P&gt;&lt;P&gt;2. Since we ship the Apache Hive binaries so hive.reloadable.aux.jars.path should be supported on any hive shipped since HDP 2.2.0.&lt;/P&gt;&lt;P&gt;3. "hdfs:///" is supported on add jar, doubt if hive.aux.jars.path supports it.&lt;/P&gt;&lt;P&gt;4. Wildcards are not supported in both hive.aux.jars.path and add jar.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 01:33:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96209#M59537</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-10-30T01:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: (hive) How to permanently add SerDe JARs to Hive?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96210#M59538</link>
      <description>&lt;P&gt;@&lt;A href="http://community.hortonworks.com/users/150/sroberts.html"&gt;Sean Roberts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#5 I hope this helps&lt;/P&gt;&lt;P&gt; &lt;A target="_blank" href="https://issues.apache.org/jira/browse/HIVE-5160"&gt;HS2 should support .hiverc&lt;/A&gt;&lt;/P&gt;&lt;H4&gt; Global Init File&lt;/H4&gt;&lt;P&gt;A global init file can be placed in the configured &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.global.init.file.location"&gt;hive.server2.global.init.file.location&lt;/A&gt; location (Hive 0.14 onward, see &lt;A href="https://issues.apache.org/jira/browse/HIVE-5160"&gt;HIVE-5160&lt;/A&gt;, &lt;A href="https://issues.apache.org/jira/browse/HIVE-7497"&gt;HIVE-7497&lt;/A&gt;, and &lt;A href="https://issues.apache.org/jira/browse/HIVE-8138"&gt;HIVE-8138&lt;/A&gt;). This can be either the path to the init file itself, or a directory where an init file named ".hiverc" is expected.&lt;/P&gt;&lt;P&gt;The init file lists a set of commands that will run for users of this HiveServer2 instance, such as register a standard set of jars and functions.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 02:54:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96210#M59538</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-10-30T02:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: (hive) How to permanently add SerDe JARs to Hive?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96211#M59539</link>
      <description>&lt;P&gt;I put jars into folder /usr/hdp/current/hive-client/auxlib (in each hiveserver2/hive cli node). &lt;/P&gt;&lt;P&gt;Other solutions might work, but in my experience was when it worked for hiveserver2, it did not work for hive cli, or good for hue and bad for squirel, so I gave up and started using auxlib.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 11:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-How-to-permanently-add-SerDe-JARs-to-Hive/m-p/96211#M59539</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-10-30T11:18:20Z</dc:date>
    </item>
  </channel>
</rss>

