Exception while deleting Spark temp dir in Windows 7 64 bit

后端 未结 10 978
走了就别回头了
走了就别回头了 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:37

    for python:

    create an empty dir tmp\hive

    import os
    os.system(command=f"path to \\bin\\winutils.exe chmod -R 777 path to \\tmp\\hive")
    

提交回复
热议问题