hadoop解决windows下:Failed to set permissions of path: mp .staging to 0700

Posted 不自然地坚持

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop解决windows下:Failed to set permissions of path: mp .staging to 0700相关的知识,希望对你有一定的参考价值。

17/04/24 15:32:44 WARN util.NativeCodeLoader: Unable to load native-Hadoop library for your platform... using builtin-Java classes where applicable
17/04/24 15:32:44 ERROR security.UserGroupInformation: PriviledgedActionException as:Administrator cause:Java.io.IOException: Failed to set permissions of path: \tmp\hadoop-Administrator\mapred\staging\Administrator-519341271\.staging to 0700
Exception in thread "main" java.io.IOException: Failed to set permissions of path: \tmp\hadoop-Administrator\mapred\staging\Administrator-519341271\.staging to 0700

解决:

1.添加jar包:

https://github.com/downloads/congainc/patch-hadoop_7682-1.0.x-win/patch-hadoop_7682-1.0.x-win.jar

2.在windows项目中core-site.xml添加配置文件

<property>
         <name>fs.file.impl</name>
         <value>com.conga.services.hadoop.patch.HADOOP_7682.WinLocalFileSystem</value>
         <description>Enables patch for issue HADOOP-7682 on Windows</description>
</property>

 




以上是关于hadoop解决windows下:Failed to set permissions of path: mp .staging to 0700的主要内容,如果未能解决你的问题,请参考以下文章

ADB Server Didn’t ACK ,failed to Start Daemon 解决方法

[Package Manager Window] Error while getting auth code: System.Inva lidOpera tionException: Failed t

解决Windows下Docker Failed to Start - Docker Desktop for Windows

解决spark运行中failed to locate the winutils binary in the hadoop binary path的问题

windows下使用pip安装模块发生“failed with error code 1”的解决方法

解决ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.java.net.BindExce