更新时间:2022-05-08 08:22:08
变量 HADOOP_HOME
不应直接指向 winutils.exe
,而应指向具有 bin \ winutils.exe
.
The variable HADOOP_HOME
should not point to winutils.exe
directly, but to a folder having a bin\winutils.exe
in it.
例如
如果您具有 C:\ hadoop \ bin \ winutils.exe
,则将 HADOOP_HOME
设置为 C:\ hadoop
if you have C:\hadoop\bin\winutils.exe
, then set HADOOP_HOME
to C:\hadoop