Hadoop solution under Windows: Failed to set permissions of path: \tmp\ \.staging to 0700

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.