I have installed Zeppelin 0.7.1
. When I tried to execute the Example spark program(which was available with Zeppelin Tutorial
notebook), I am getting t
Did you set right SPARK_HOME
? Just wondered what sk
is in your
export SPARK_HOME="/${homedir}/sk"
(I just wanted to comment below your question but couldn't, due to my lack of reputation
Just now I got solution of this issue for Zeppelin-0.7.2:
Root Cause is : Spark trying to setup Hive context, but hdfs services is not running, that's why HiveContext become null and throwing null pointer exception.
Solution:
1. Setup Saprk Home [optional] and HDFS.
2. Run HDFS service
3. Restart zeppelin server
OR
1. Go to Zeppelin's Interpreter settings.
2. Select Spark Interpreter
3. zeppelin.spark.useHiveContext = false
solved it by adding this line at the top in file common.sh in dir zeppelin-0.6.1 then bin
open common.sh and add command in the top of file set :
unset CLASSPATH