<?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: error while usin select statement using hive in ambari: in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154706#M117147</link>
    <description>&lt;P&gt;should i add above jars in  hive view for  ambari or hive server node&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2016 16:31:37 GMT</pubDate>
    <dc:creator>vittal_hebbar</dc:creator>
    <dc:date>2016-07-29T16:31:37Z</dc:date>
    <item>
      <title>error while usin select statement using hive in ambari:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154704#M117145</link>
      <description>&lt;P&gt;I have added  jars esri-geometry-api.jar and spatial-sdk.jar in tmp/udfs/ in file view and refer it in hive view using the script as: ADD JAR /tmp/udfs/esri-geometry-api.jar                                                                                                                                 ADD JAR /tmp/udfs/spatial-sdk.jar   &lt;/P&gt;&lt;P&gt;select * from   building;&lt;/P&gt;&lt;P&gt;but i get error as      &lt;/P&gt;&lt;P&gt;Error while compiling statement: FAILED: ParseException line 4:0 cannot recognize input near 'ADD' 'JAR' 'esri' [ERROR_STATUS]&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 20:34:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154704#M117145</guid>
      <dc:creator>vittal_hebbar</dc:creator>
      <dc:date>2016-07-28T20:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: error while usin select statement using hive in ambari:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154705#M117146</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12159/vittalhebbar.html"&gt;k v vittal hebbar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I assume that lines as you actually wrote are like the below (in two lines with semicolon at the end):&lt;/P&gt;&lt;P&gt;ADD JAR /tmp/udfs/esri-geometry-api.jar;&lt;/P&gt;&lt;P&gt; ADD JAR /tmp/udfs/spatial-sdk.jar;&lt;/P&gt;&lt;P&gt;If that is true, then check whether your ambari view user is mapped to an OS user that has privileges on /tmp/udfs/ located files. Example:&lt;/P&gt;&lt;P&gt;You also have a better option to add these libraries to HDFS as such you can access them from any node with a Hive client.&lt;/P&gt;&lt;P&gt;add jar hdfs://whateverhost:8020/tmp/esri/esri-geometry-api.jar;&lt;/P&gt;&lt;P&gt;Try the hdfs approach.&lt;/P&gt;&lt;P&gt;If this addresses your response please vote and accept it &lt;STRONG&gt;as the best answer&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 00:24:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154705#M117146</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-07-29T00:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: error while usin select statement using hive in ambari:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154706#M117147</link>
      <description>&lt;P&gt;should i add above jars in  hive view for  ambari or hive server node&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 16:31:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154706#M117147</guid>
      <dc:creator>vittal_hebbar</dc:creator>
      <dc:date>2016-07-29T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: error while usin select statement using hive in ambari:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154707#M117148</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12159/vittalhebbar.html"&gt;@k v vittal hebbar &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Either one is fine. &lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 04:27:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-while-usin-select-statement-using-hive-in-ambari/m-p/154707#M117148</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-12-21T04:27:55Z</dc:date>
    </item>
  </channel>
</rss>

