Github user pauldj54 commented on the issue:

    https://github.com/apache/zeppelin/pull/1645
  
    Hi everyone, 
    I got the same error as @nEosAg007 . I added conda and all anaconda3 
libraries to my path (in my case /opt/anaconda3/bin) but this makes python3 the 
default python in my environment. That makes Zeppelin start crashing with the 
error
    ```
    apache.zeppelin.interpreter.InterpreterException:   File 
"/usr/bin/hdp-select", line 205
        print "ERROR: Invalid package - " + name
                                        ^
    SyntaxError: Missing parentheses in call to 'print'
    ls: cannot access /usr/hdp//hadoop/lib: No such file or directory
    Exception in thread "main" java.lang.IllegalStateException: hdp.version is 
not set while running Spark under HDP, please set through HDP_VERSION in 
spark-env.sh or add a java-opts file in conf with -Dhdp.version=xxx
    ```
    My platform is a HDP 2.5 with Zeppelin 0.7.3 and this is my zeppelin.sh 
configuration for Python
    ```
    export 
PYTHONPATH="${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.8.2.1-src.zip"
    export SPARK_YARN_USER_ENV="PYTHONPATH=${PYTHONPATH}"
    export 
PYSPARK_DRIVER_PYTHON="/var/opt/teradata/anaconda3/envs/py35/bin/ipython"
    export PYSPARK_PYTHON="/var/opt/teradata/anaconda3/envs/py35/bin/python"
    export PYLIB="/var/opt/teradata/anaconda3/envs/py35/lib"
    ```
    Is there an optimal way to configure Zeppelin to make it fully functional?
    
    Kind Regards, Paul


---

Reply via email to