win7+spark

https://blog.csdn.net/u011513853/article/details/52865076

https://blog.csdn.net/u011464774/article/details/76697183

F:\Program Files\hadoop\bin\winutils.exe chmod 777 /tmp/hive 

这一步报错ChangeFileModeByMask error (3): ???????????

改成 F:\Program Files\hadoop\bin\winutils.exe chmod 777 c:/tmp/hive 

 

执行spark-shell

报错:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries

检查HADOOP_HOME,直接写地址,末尾不能带 ; 号

 

 

你可能感兴趣的:(win7+spark)