相关文件解压至%HADOOP_HOME%\bin目录下,可解决hadoop2.7+在Windows下执行时遇到的UnsatisfiedLinkError以及java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
2019-12-21 19:48:32 1.2MB hadoop winutils
1
解压后,替换掉hadoop中原有的bin目录即可。也可以尝试将hadoop.dll和winutils.exe拷贝到bin目录下,NN命令添加:可以在start-dfs.cmd和stop-dfs.cmd中分别加入启动/关闭 secondarynamenode 的命令: start "Apache Hadoop Distribution" hadoop secondarynamenode Taskkill /FI "WINDOWTITLE eq Apache Hadoop Distribution - hadoop secondarynamenode"
2019-12-21 19:32:03 950KB hadoop winutils
1
解决hadoop版本不同而引起的org.apache.hadoop.io.nativeio.NativeIO$Windows.createDirectoryWithMode0(Ljava/lang/String;I)V
2019-12-21 19:21:15 1023KB Hadoop winutils.exe hadoop.dll
1