Exception while deleting Spark temp dir in Windows 7 64 bit

后端 未结 10 999
走了就别回头了
走了就别回头了 2021-02-12 23:43

I am trying to run unit test of spark job in windows 7 64 bit. I have

HADOOP_HOME=D:/winutils

winutils path= D:/winutils/bin/winutils.exe

I r

10条回答
  •  忘掉有多难
    2021-02-13 00:32

    I'm facing the same problem after trying to run the WordCount example with spark-submit command. Right now, i'm ignoring it because it returns the results before the error happens.

    I found some old issues in spark Jira but didn't found any fixes. (BTW, one of them is with the status closed.)

    https://issues.apache.org/jira/browse/SPARK-8333

    https://issues.apache.org/jira/browse/SPARK-12216

    Unfortunately seems that they don't care about spark on windows at all.

    One bad solution is to give the Temp folder (in yout case *C:\Users\415387\AppData\Local\Temp*) permission to everyone.

    So it will be like that:

    winutils chmod -R 777 C:\Users\415387\AppData\Local\Temp\
    

    But I strongly recomend you to not do that.

提交回复
热议问题