Spark 2.1 - Error While instantiating HiveSessionState

后端 未结 10 1992
借酒劲吻你
借酒劲吻你 2020-12-06 06:38

With a fresh install of Spark 2.1, I am getting an error when executing the pyspark command.

Traceback (most recent call last):
File \"/usr/local/spark/pytho         


        
10条回答
  •  孤城傲影
    2020-12-06 07:21

    I saw this error on a new (2018) Mac, which came with Java 10. The fix was to set JAVA_HOME to Java 8:

    export JAVA_HOME=`usr/libexec/java_home -v 1.8`

提交回复
热议问题