The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rw-rw-rw- (on Windows)

后端 未结 16 1190
星月不相逢
星月不相逢 2020-11-28 04:45

I am running Spark on Windows 7. When I use Hive, I see the following error

The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions a         


        
16条回答
  •  庸人自扰
    2020-11-28 05:06

    I also faced this issue. This issue is related to network. I installed spark on Windows 7 using particular domain.

    Domain name can be checked

    Start -> computer -> Right click -> Properties -> Computer name, domain and workgroup settings -> click on change -> Computer Name (Tab) -> Click on Change -> Domain name.

    When I run spark-shell command, it works fine, without any error.

    In other networks I received write permission error. To avoid this error, run spark command on Domain specified in above path.

提交回复
热议问题