hadoop缺少hadoop.dll和winutils.exe文件报错

今天在本地跑mapreduce的遇到的问题:
Could not locate executable null \bin\winutils.exe in the hadoop binaries
Unable to load native-hadoop library for your platform… using builtin-Java classes where applicable
原因:

  1. 缺少winutils.exe
    Could not locate executable null \bin\winutils.exe in the hadoop binaries
  2. 缺少hadoop.dll
    Unable to load native-hadoop library for your platform… using builtin-Java classes where applicable

解决:下载这两个文件,将这两个文件下载并导入hadoop目录下的bin目录

你可能感兴趣的:(解决的bug,hadoop,mapreduce,hdfs)