<?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 when query hive/hbase from %sql in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119344#M82122</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I setup Zeppelin, %spark and %hive is workign perfectly but I have somethin special with %sql&lt;/P&gt;&lt;P&gt;For the context, I have hbase table and hive is able to query the hbase table.&lt;/P&gt;&lt;P&gt;When I'm doing &lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;show tables&lt;/P&gt;&lt;P&gt;I can see all the table name but when I doing hte following query:&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;Select * from table1&lt;/P&gt;&lt;P&gt;Then I got the following error:&lt;/P&gt;&lt;P&gt;MetaException(message:java.lang.ClassNotFoundException Class 
org.apache.hadoop.hive.hbase.HBaseSerDe not found)
	at 
org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:346)&lt;/P&gt;&lt;P&gt;	at 
org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:288)&lt;/P&gt;&lt;P&gt;	at 
org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:281)
	at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:631)
	at 
org.apache.hadoop.hive.ql.metadata.Table.checkValidity(Table.java:189)
	at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1017)
	at 
org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$getTableOption$1.apply(ClientWrapper.scala:202)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$getTableOption$1.apply(ClientWrapper.scala:198)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:156)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.getTableOption(ClientWrapper.scala:198)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientInterface$class.getTable(ClientInterface.scala:112)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.getTable(ClientWrapper.scala:61)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.HiveMetastoreCatalog.lookupRelation(HiveMetastoreCatalog.scala:227)&lt;/P&gt;&lt;P&gt;	at ....................&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 21:03:12 GMT</pubDate>
    <dc:creator>michelsumbul</dc:creator>
    <dc:date>2016-02-01T21:03:12Z</dc:date>
    <item>
      <title>Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119344#M82122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I setup Zeppelin, %spark and %hive is workign perfectly but I have somethin special with %sql&lt;/P&gt;&lt;P&gt;For the context, I have hbase table and hive is able to query the hbase table.&lt;/P&gt;&lt;P&gt;When I'm doing &lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;show tables&lt;/P&gt;&lt;P&gt;I can see all the table name but when I doing hte following query:&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;Select * from table1&lt;/P&gt;&lt;P&gt;Then I got the following error:&lt;/P&gt;&lt;P&gt;MetaException(message:java.lang.ClassNotFoundException Class 
org.apache.hadoop.hive.hbase.HBaseSerDe not found)
	at 
org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:346)&lt;/P&gt;&lt;P&gt;	at 
org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:288)&lt;/P&gt;&lt;P&gt;	at 
org.apache.hadoop.hive.ql.metadata.Table.getDeserializer(Table.java:281)
	at org.apache.hadoop.hive.ql.metadata.Table.getCols(Table.java:631)
	at 
org.apache.hadoop.hive.ql.metadata.Table.checkValidity(Table.java:189)
	at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1017)
	at 
org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$getTableOption$1.apply(ClientWrapper.scala:202)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$getTableOption$1.apply(ClientWrapper.scala:198)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:156)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.getTableOption(ClientWrapper.scala:198)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientInterface$class.getTable(ClientInterface.scala:112)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.client.ClientWrapper.getTable(ClientWrapper.scala:61)&lt;/P&gt;&lt;P&gt;	at 
org.apache.spark.sql.hive.HiveMetastoreCatalog.lookupRelation(HiveMetastoreCatalog.scala:227)&lt;/P&gt;&lt;P&gt;	at ....................&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:03:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119344#M82122</guid>
      <dc:creator>michelsumbul</dc:creator>
      <dc:date>2016-02-01T21:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119345#M82123</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1390/michelsumbul.html" nodeid="1390"&gt;@Michel Sumbul&lt;/A&gt;&lt;P&gt;Conclusion: You are using %sql to read hbase table. Correct?&lt;/P&gt;&lt;P&gt;You can use %phoenix to do so. You can see %phoenix demo in &lt;A target="_blank" href="https://www.linkedin.com/pulse/apache-ranger-hbase-neeraj-sabharwal"&gt;this&lt;/A&gt;  or &lt;A target="_blank" href="http://i.giphy.com/26tn1swfB8TwiFG7e.gif"&gt;this&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119345#M82123</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-01T21:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119346#M82124</link>
      <description>&lt;PRE&gt;"MetaException(message:java.lang.ClassNotFoundException Class &lt;STRONG&gt;org.apache.hadoop.hive.hbase.HBaseSerDe not found&lt;/STRONG&gt;) at org.apache.hadoop.hive.metastore.MetaStoreUtils.getDeserializer(MetaStoreUtils.java:346)"&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:08:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119346#M82124</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-01T21:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119347#M82125</link>
      <description>&lt;P&gt;Okok.&lt;/P&gt;&lt;P&gt;Stupid question: How to show the list of the table in phoenix from zeppelin.&lt;/P&gt;&lt;P&gt;I try: show table, show tables, list table, !table&lt;/P&gt;&lt;P&gt;Noone is working, is it normal?&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:22:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119347#M82125</guid>
      <dc:creator>michelsumbul</dc:creator>
      <dc:date>2016-02-01T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119348#M82126</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1390/michelsumbul.html" nodeid="1390"&gt;@Michel Sumbul&lt;/A&gt; &lt;/P&gt;&lt;P&gt;That's in the demo too &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select from system.catalog &lt;/P&gt;&lt;P&gt;Check the demo &lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:54:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119348#M82126</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-01T21:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119349#M82127</link>
      <description>&lt;P&gt;Hey Michel.  In phoneix the order is !tables  I am unsure if it translates into phoenix but that's how I would do it in phoenix's CLI tool.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 22:00:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119349#M82127</guid>
      <dc:creator>cgambino</dc:creator>
      <dc:date>2016-02-01T22:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when query hive/hbase from %sql</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119350#M82128</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2213/cgambino.html" nodeid="2213"&gt;@Chris Gambino&lt;/A&gt;&lt;/P&gt;&lt;P&gt;! Does not work in Zeppelin &lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 22:15:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-query-hive-hbase-from-sql/m-p/119350#M82128</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-01T22:15:43Z</dc:date>
    </item>
  </channel>
</rss>

