<?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: configure zeppelin so spark interpreter can create hive tables in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/286375#M212408</link>
    <description>&lt;P&gt;In which file did you make the change? and what are the values?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2019 11:23:01 GMT</pubDate>
    <dc:creator>mahmedrao</dc:creator>
    <dc:date>2019-12-26T11:23:01Z</dc:date>
    <item>
      <title>configure zeppelin so spark interpreter can create hive tables</title>
      <link>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/234816#M196636</link>
      <description>&lt;P&gt;	Hello community,&lt;/P&gt;&lt;P&gt;	I am using HDP 3.0.1 and Zeppelin 0.8.0&lt;/P&gt;&lt;P&gt;	I would like to create hive tables, however, I get the following error:&lt;/P&gt;&lt;PRE&gt;org.apache.spark.sql.AnalysisException: Hive support is required to CREATE Hive TABLE (AS SELECT);&lt;/PRE&gt;&lt;P style="margin-left: 60px;"&gt;&lt;/P&gt;&lt;P&gt;I found that I have to add spark.sql.catalogImplementation=hive&lt;/P&gt;&lt;P&gt;If I execute spark.sessionState.catalog from Zeppelin, I get:&lt;/P&gt;&lt;PRE&gt;org.apache.spark.sql.catalyst.catalog.SessionCatalog = org.apache.spark.sql.catalyst.catalog.SessionCatalog@4c3b5588&lt;/PRE&gt;&lt;P&gt;However, If I run spark from cli using the following command:&lt;/P&gt;&lt;P&gt;spark-shell --master yarn --conf spark.sql.catalogImplementation=hive&lt;/P&gt;&lt;P&gt;and then type spark.sessionState.catalog&lt;/P&gt;&lt;P&gt;I get the following result &lt;/P&gt;&lt;PRE&gt;org.apache.spark.sql.catalyst.catalog.SessionCatalog = org.apache.spark.sql.hive.HiveSessionCatalog@5a384aef&lt;/PRE&gt;&lt;P&gt;Running the same code, I can create a hive table from cli, but I can't create it from Zeppelin&lt;/P&gt;&lt;P&gt;I would like to create hive tables from Zeppelin.&lt;/P&gt;&lt;P&gt;What configuration do I miss? &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 22:02:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/234816#M196636</guid>
      <dc:creator>cstefan</dc:creator>
      <dc:date>2018-10-26T22:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: configure zeppelin so spark interpreter can create hive tables</title>
      <link>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/234817#M196637</link>
      <description>&lt;P&gt;After editing JDBC interpreter and adding hive password solved the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 15:25:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/234817#M196637</guid>
      <dc:creator>cstefan</dc:creator>
      <dc:date>2018-10-29T15:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: configure zeppelin so spark interpreter can create hive tables</title>
      <link>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/286375#M212408</link>
      <description>&lt;P&gt;In which file did you make the change? and what are the values?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 11:23:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/configure-zeppelin-so-spark-interpreter-can-create-hive/m-p/286375#M212408</guid>
      <dc:creator>mahmedrao</dc:creator>
      <dc:date>2019-12-26T11:23:01Z</dc:date>
    </item>
  </channel>
</rss>

