Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 02-01-2016 01:03 PM
Hi,
I setup Zeppelin, %spark and %hive is workign perfectly but I have somethin special with %sql
For the context, I have hbase table and hive is able to query the hbase table.
When I'm doing
%sql
show tables
I can see all the table name but when I doing hte following query:
%sql
Select * from table1
Then I got the following error:
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)
at org.apache.hadoop.hive.ql.metadata.Table.getDeserializerFromMetaStore(Table.java:288)
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)
at org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$getTableOption$1.apply(ClientWrapper.scala:198)
at org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:156)
at org.apache.spark.sql.hive.client.ClientWrapper.getTableOption(ClientWrapper.scala:198)
at org.apache.spark.sql.hive.client.ClientInterface$class.getTable(ClientInterface.scala:112)
at org.apache.spark.sql.hive.client.ClientWrapper.getTable(ClientWrapper.scala:61)
at org.apache.spark.sql.hive.HiveMetastoreCatalog.lookupRelation(HiveMetastoreCatalog.scala:227)
at ....................
Any idea?
Thanks in advance,
Michel
Created 02-01-2016 01:07 PM
Conclusion: You are using %sql to read hbase table. Correct?
You can use %phoenix to do so. You can see %phoenix demo in this or this
Created 02-01-2016 01:07 PM
Conclusion: You are using %sql to read hbase table. Correct?
You can use %phoenix to do so. You can see %phoenix demo in this or this
Created 02-01-2016 01:08 PM
"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)"
Created 02-01-2016 01:22 PM
Okok.
Stupid question: How to show the list of the table in phoenix from zeppelin.
I try: show table, show tables, list table, !table
Noone is working, is it normal?
Thanks 🙂
Created 02-01-2016 01:54 PM
Created 02-01-2016 02:00 PM
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.
Created 02-01-2016 02:15 PM
! Does not work in Zeppelin