解决windows下运行hadoop客户端报错

时间:2021-09-07 01:27:51
1、访问hdfs时报权限错误: Permission denied: user=administrator, access=WRITE, inode="/":root:supergroup 解决:配置JVA运行参数 -DHADOOP_USER_NAME=对应用户名 解决windows下运行hadoop客户端报错
解决windows下运行hadoop客户端报错 2、 Could not locate Hadoop executable: E:\lib\hadoop-2.8.0\bin\winutils.exe -see https://wiki.apache.org/hadoop/WindowsProblems 解决:https://github.com/steveloughran/winutils 下下载对应hadoop版本win环境运行文件,覆盖bin文件夹 3、org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z 解决:将bin下hadoop.dll拷贝至C:\Windows\System32