Carsten Braess created ZEPPELIN-4094:
----------------------------------------

             Summary: Pyspark on Windows missing PYTHONPATH 
                 Key: ZEPPELIN-4094
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4094
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters, pySpark
    Affects Versions: 0.8.1
            Reporter: Carsten Braess


Using default setup will result in exception when starting local pyspark 
remoteinterpreter due to pyspark module not found.

In interpreter.cmd there is a set command for PYTHONPATH to include 
%ZEPPLIN_HOME%\interpreter\spark\pyspark\pyspark.zip and proper 
%ZEPPLIN_HOME%\interpreter\spark\pyspark\py4j-*.zip, which does work (verified 
by debug output), but somehow the spawned python process does not inherit it.

Workaround: Set PYTHONPATH in windows enviroment variables to include both 
files.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to