问题
在WIndows操作系统中本地运行spark程序写文件操作时,报以下错误:
…(null) entry in command string: null chmod 0644 …(后面是目的目录)
解决方案:
下载hadoop.dll文件
并拷贝到c:\windows\system32目录中
然后重新运行代码程序即可
下载对应版本的hadoop.dll文件
https://github.com/cdarlint/winutils/tree/master
参考:https://blog.csdn.net/selfond/article/details/109626717