hi.
I tested your problem in the same as your environment.
I think you don't need to set PYSPARK_PYTHON so can you remove export
PYSPARK_PYTHON=/home/jin/spark/python in your zeppelin-env.sh?
and retry please.
let me share my configuration fyi.
export PYTHONPATH=/usr/bin/python
export SPARK_HOME=
Yes, I already registered it.
But the result is same.
Thanks,
Jin
2017-02-24 18:05 GMT+09:00 Hyung Sung Shim :
> hello.
> Could you set spark-2.1.0-bin-hadoop2.7 path as SPARK_HOME ?
> You can refer to http://zeppelin.apache.org/docs/0.7.0/interpreter/spark.
> html#1-export-spark_home.
>
> 2017-
hello.
Could you set spark-2.1.0-bin-hadoop2.7 path as SPARK_HOME ?
You can refer to
http://zeppelin.apache.org/docs/0.7.0/interpreter/spark.html#1-export-spark_home
.
2017-02-24 15:44 GMT+09:00 Beth Lee :
> I installed spark-2.1.0-bin-hadoop2.7.tgz and zeppelin-0.7.0-bin-all.tgz in
> ubuntu.
>
>
I installed spark-2.1.0-bin-hadoop2.7.tgz and zeppelin-0.7.0-bin-all.tgz in
ubuntu.
I set the zeppelin-env.sh like below.
export PYTHONPATH=/usr/bin/python
export PYSPARK_PYTHON=/home/jin/spark/python
So I try to use pyspark in the zeppelin notebook.
%spark.pyspark
print(2+2)