java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700

Apache's JIRA Issue Tracker | Weili Shao | 5 years ago
  1. 0

    Built eclipse plugin for 1.0.0 on Windows and using it to submit a job, I got the following error: 12/02/17 17:14:24 ERROR security.UserGroupInformation: PriviledgedActionException as:weilis cause:java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700 Exception in thread "main" java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700 at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:682) at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:655) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:509) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:344) at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:189) at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:856) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850) at org.apache.hadoop.mapreduce.Job.submit(Job.java:465) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:495) The job staging area local on Windows system and I don't think there is a way to set a local file's permission to 0700 anyway. Please have a look.

    Apache's JIRA Issue Tracker | 5 years ago | Weili Shao
    java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700
  2. 0

    Built eclipse plugin for 1.0.0 on Windows and using it to submit a job, I got the following error: 12/02/17 17:14:24 ERROR security.UserGroupInformation: PriviledgedActionException as:weilis cause:java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700 Exception in thread "main" java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700 at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:682) at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:655) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:509) at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:344) at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:189) at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:856) at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850) at org.apache.hadoop.mapreduce.Job.submit(Job.java:465) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:495) The job staging area local on Windows system and I don't think there is a way to set a local file's permission to 0700 anyway. Please have a look.

    Apache's JIRA Issue Tracker | 5 years ago | Weili Shao
    java.io.IOException: Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700
  3. 0

    Running Apache Nutch in windows 7

    Stack Overflow | 3 years ago | RamaKrishnan Muthu
    java.io.IOException: Failed to set permissions of path: \tmp\hadoop-user\mapred\staging\user1249593824.staging to 0700**</strong></p> <pre><code> at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:691)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mahout : KMeans Clustering

    Stack Overflow | 3 years ago | user2837896
    java.io.IOException: Failed to set permissions of path: \tmp\hadoop-hp\mapred\staging\hp1776229724\.staging to 0700
  6. 0

    WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

    Stack Overflow | 3 years ago | Shreyuth
    java.io.IOException: Failed to set permissions of path: \tmp\hadoop-313159\mapred\staging\313159-992402185\.staging to 0700

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to set permissions of path: \tmp\hadoop-weilis\mapred\staging\weilis753422487\.staging to 0700

      at org.apache.hadoop.fs.FileUtil.checkReturnValue()
    2. Hadoop
      FilterFileSystem.mkdirs
      1. org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:682)
      2. org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:655)
      3. org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:509)
      4. org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:344)
      5. org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:189)
      5 frames
    3. Hadoop
      JobClient$2.run
      1. org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116)
      2. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:856)
      3. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850)
      3 frames
    4. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames
    5. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
      1 frame
    6. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850)
      2. org.apache.hadoop.mapreduce.Job.submit(Job.java:465)
      3. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:495)
      3 frames