<?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 CLI filenotfoundexception in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199562#M65556</link>
    <description>&lt;P&gt;Thanks Deepesh. It is:&lt;/P&gt;&lt;PRE&gt;HIVE_AUX_JARS_PATH=/usr/hdp/2.6.0.3-8/hive/lib/json-serde-1.3.7-jar-with-dependencies.jar
      if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then
        if [ -f "${HIVE_AUX_JARS_PATH}" ]; then
          export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}
        elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
          export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
        fi
      elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
        export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
      fi&lt;/PRE&gt;</description>
    <pubDate>Fri, 28 Jul 2017 12:38:17 GMT</pubDate>
    <dc:creator>ed_day</dc:creator>
    <dc:date>2017-07-28T12:38:17Z</dc:date>
    <item>
      <title>Hive CLI filenotfoundexception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199560#M65554</link>
      <description>&lt;P&gt;I am trying to run hive from the CLI:&lt;/P&gt;&lt;PRE&gt;HADOOP_USER_NAME=hdfs hive -hiveconf hive.cli.print.header=true -hiveconf hive.support.sql11.reserved.keywords=false -hiveconf hive.aux.jars.path=/usr/hdp/2.6.0.3-8/hive/lib/json-serde-1.3.7-jar-with-dependencies.jar -hiveconf hive.root.logger=DEBUG,console&lt;/PRE&gt;&lt;P&gt;but I get this error:&lt;/P&gt;&lt;PRE&gt;java.lang.RuntimeException: java.io.FileNotFoundException: File does not exist: hdfs://master.royble.co.uk:8020/user/hdfs/ /home/ed/Downloads/serde/json-serde-1.3.7-jar-with-dependencies.jar&lt;/PRE&gt;&lt;P&gt;I have had so many problems with that jar, that I originally used to create a Hive table. Normally I would do an 'add jar' but I cannot start Hive to do that. I have tried adding the jar to hive-env, /usr/hdp/&amp;lt;version&amp;gt;/hive/auxlib (on the hive machine) and hive.aux.jars.path but nothing works.&lt;/P&gt;&lt;P&gt;Any idea why Hive is looking for that odd path, or in fact why it is looking for it at all? FYI: master is not the machine with hive on it but it is where I run Ambari.&lt;/P&gt;&lt;P&gt;The path  /home/ed/Downloads/serde is one I have used in the past but can remember when.&lt;/P&gt;&lt;P&gt;Using HDP-2.6.0.3.&lt;/P&gt;&lt;P&gt;Any help is much appreciated as this is driving me mad!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 23:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199560#M65554</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-07-26T23:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI filenotfoundexception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199561#M65555</link>
      <description>&lt;P&gt;Can you check and post what HIVE_AUX_JARS_PATH is set to in /etc/hive/conf/hive-env.sh?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 06:03:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199561#M65555</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-07-28T06:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI filenotfoundexception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199562#M65556</link>
      <description>&lt;P&gt;Thanks Deepesh. It is:&lt;/P&gt;&lt;PRE&gt;HIVE_AUX_JARS_PATH=/usr/hdp/2.6.0.3-8/hive/lib/json-serde-1.3.7-jar-with-dependencies.jar
      if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then
        if [ -f "${HIVE_AUX_JARS_PATH}" ]; then
          export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}
        elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
          export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
        fi
      elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
        export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
      fi&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jul 2017 12:38:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199562#M65556</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-07-28T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI filenotfoundexception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199563#M65557</link>
      <description>&lt;P&gt;It was a setting in tez.lib.uris. Changed it to:&lt;/P&gt;&lt;P&gt;/hdp/apps/${hdp.version}/tez/tez.tar.gz,hdfs://master.royble.co.uk:8020/jars/json-serde-1.3.7-jar-with-dependencies.jar&lt;/P&gt;&lt;P&gt;(Note: no space after comma and hdfs path).&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 13:40:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-CLI-filenotfoundexception/m-p/199563#M65557</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-07-28T13:40:32Z</dc:date>
    </item>
  </channel>
</rss>

