ZEPPELIN-2377. Hive Support can not be enabled in spark master

This commit is contained in:
Jeff Zhang 2017-04-09 15:46:32 +08:00
parent 495be1ede1
commit d16196ba42

View file

@ -246,7 +246,7 @@ public class SparkInterpreter extends Interpreter {
*/
private boolean hiveClassesArePresent() {
try {
this.getClass().forName("org.apache.spark.sql.hive.HiveSessionState");
this.getClass().forName("org.apache.spark.sql.hive.execution.InsertIntoHiveTable");
this.getClass().forName("org.apache.hadoop.hive.conf.HiveConf");
return true;
} catch (ClassNotFoundException | NoClassDefFoundError e) {