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 10-26-2018 03:02 PM
Hello community,
I am using HDP 3.0.1 and Zeppelin 0.8.0
I would like to create hive tables, however, I get the following error:
org.apache.spark.sql.AnalysisException: Hive support is required to CREATE Hive TABLE (AS SELECT);
I found that I have to add spark.sql.catalogImplementation=hive
If I execute spark.sessionState.catalog from Zeppelin, I get:
org.apache.spark.sql.catalyst.catalog.SessionCatalog = org.apache.spark.sql.catalyst.catalog.SessionCatalog@4c3b5588
However, If I run spark from cli using the following command:
spark-shell --master yarn --conf spark.sql.catalogImplementation=hive
and then type spark.sessionState.catalog
I get the following result
org.apache.spark.sql.catalyst.catalog.SessionCatalog = org.apache.spark.sql.hive.HiveSessionCatalog@5a384aef
Running the same code, I can create a hive table from cli, but I can't create it from Zeppelin
I would like to create hive tables from Zeppelin.
What configuration do I miss?
Thanks in advance.
Created 10-29-2018 08:25 AM
After editing JDBC interpreter and adding hive password solved the issue.
Created 10-29-2018 08:25 AM
After editing JDBC interpreter and adding hive password solved the issue.
Created 12-26-2019 03:23 AM
In which file did you make the change? and what are the values?