How to fix Exception while running locally spark-sql program on windows10 by enabling HiveSupport?

后端 未结 1 1223
孤城傲影
孤城傲影 2021-01-27 15:10

I am working on SPARK-SQL 2.3.1 and I am trying to enable the hiveSupport for while creating a session as below

.enableHiveSupport()
.config(\"spark         


        
相关标签:
1条回答
  • 2021-01-27 15:38

    Try to use this command:

    hadoop fs -chmod -R 777 /tmp/hive/
    

    This is Spark Exception, not Windows. You need to set correct permissions for the HDFS folder, not only for your local directory.

    0 讨论(0)
提交回复
热议问题