<?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 error in livy - org.apache.hadoop.hive.ql.metadata.HiveException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/error-in-livy-org-apache-hadoop-hive-ql-metadata/m-p/353680#M236770</link>
    <description>&lt;P&gt;hello cloudera community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are having problems using livy with job spark to read hive by jupyter notebook&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when we run a simple query, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;spark.sql("show show databases").show()&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;returns the error below&lt;BR /&gt;&lt;BR /&gt;"&lt;STRONG&gt;org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help us with this setup?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps: we are using cdh 5.16.x&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 01:06:09 GMT</pubDate>
    <dc:creator>yagoaparecidoti</dc:creator>
    <dc:date>2022-09-30T01:06:09Z</dc:date>
    <item>
      <title>error in livy - org.apache.hadoop.hive.ql.metadata.HiveException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-in-livy-org-apache-hadoop-hive-ql-metadata/m-p/353680#M236770</link>
      <description>&lt;P&gt;hello cloudera community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we are having problems using livy with job spark to read hive by jupyter notebook&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when we run a simple query, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;spark.sql("show show databases").show()&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;returns the error below&lt;BR /&gt;&lt;BR /&gt;"&lt;STRONG&gt;org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help us with this setup?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps: we are using cdh 5.16.x&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 01:06:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-in-livy-org-apache-hadoop-hive-ql-metadata/m-p/353680#M236770</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-09-30T01:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: error in livy - org.apache.hadoop.hive.ql.metadata.HiveException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/error-in-livy-org-apache-hadoop-hive-ql-metadata/m-p/353762#M236782</link>
      <description>&lt;P&gt;&lt;SPAN&gt;hello cloudera community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solved the problem by pointing hive-site.xml file in spark and spark2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so spark jobs in livy in jupyter notebook ran successfully&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 13:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/error-in-livy-org-apache-hadoop-hive-ql-metadata/m-p/353762#M236782</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-09-30T13:32:17Z</dc:date>
    </item>
  </channel>
</rss>

