Hadoop常见问题及解决办法
1、问题:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries
解决:在程序中添加hadoop.home.dir设置,如:“System.setProperty("hadoop.home.dir", "D:\\desktop\\hadoop-2.6.0");”,并将winutils.exe拷贝至D:\desktop\hadoop-2.6.0\bin文件夹中