bin/pyspark will setup the PYTHONPATH of py4j for you, or you need to
setup it by yourself.
export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.8.2.1-src.zip
On Fri, Nov 7, 2014 at 8:15 AM, Pagliari, Roberto
wrote:
> I’m getting this error when importing hive context
>
>
>
from pyspark.sql impo
I'm getting this error when importing hive context
>>> from pyspark.sql import HiveContext
Traceback (most recent call last):
File "", line 1, in
File "/path/spark-1.1.0/python/pyspark/__init__.py", line 63, in
from pyspark.context import SparkContext
File "/path/spark-1.1.0/python/pys