17/04/24 15:32:44 WARN util. nativecodeloader:unable to load native-Hadoop Library for your platform ... using builtin-Java classes W Here 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\s Taging\administrator-519341271\.staging to 0700
Solve:
1. Add a jar package:
Https://github.com/downloads/congainc/patch-hadoop_7682-1.0.x-win/patch-hadoop_7682-1.0.x-win.jar
2. Core-site.xml add a configuration file in a Windows project
< 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 solution under Windows: Failed to set permissions of path: \tmp\ \.staging to 0700