Spark 2.1 - Error While instantiating HiveSessionState

后端 未结 10 1993
借酒劲吻你
借酒劲吻你 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 07:29

    I too was struggling in cluster mode. Added hive-site.xml from sparkconf directory, if you have hdp cluster then it should be at /usr/hdp/current/spark2-client/conf. Its working for me.

提交回复
热议问题