Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 15190200B45 for ; Fri, 15 Jul 2016 11:14:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 13C49160A61; Fri, 15 Jul 2016 09:14:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5AAFF160A6C for ; Fri, 15 Jul 2016 11:14:23 +0200 (CEST) Received: (qmail 89455 invoked by uid 500); 15 Jul 2016 09:14:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 89155 invoked by uid 99); 15 Jul 2016 09:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 09:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 983AE2C0370 for ; Fri, 15 Jul 2016 09:14:20 +0000 (UTC) Date: Fri, 15 Jul 2016 09:14:20 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (HADOOP-13379) Hadoop: Failed to set permissions of path: \tmp\hadoop-User\mapred\staging\ while running testdriver from eclipse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Jul 2016 09:14:24 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran closed HADOOP-13379. ----------------------------------- > Hadoop: Failed to set permissions of path: \tmp\hadoop-User\mapred\staging\ while running testdriver from eclipse > ----------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-13379 > URL: https://issues.apache.org/jira/browse/HADOOP-13379 > Project: Hadoop Common > Issue Type: Bug > Environment: My Local Machine > Reporter: venkata krishna > > Hadoop: Failed to set permissions of path: \tmp\hadoop-User\mapred\staging\ > I am trying to work through this tutorial about hadoop and eclipse: http://v-lad.org/Tutorials/Hadoop/. It went fine until the last step "Running Hadoop Project". Here, when I run the project in Eclipse, I get the error: > 14/11/26 16:25:24 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable > 14/11/26 16:25:24 ERROR security.UserGroupInformation: PriviledgedActionException as:User cause:java.io.IOException: Failed to set permissions of path: \tmp\hadoop-User\mapred\staging\User660196934\.staging to 0700 > java.io.IOException: Failed to set permissions of path: \tmp\hadoop-User\mapred\staging\User660196934\.staging to 0700 > at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:691) > at org.apache.hadoop.fs.FileUtil.setPermission(FileUtil.java:664) > at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:514) > at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:349) > at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:193) > at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:126) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:942) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:936) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Unknown Source) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190) > at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:936) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:910) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1353) > at TestDriver.main(TestDriver.java:41) > I had earlier this permission issue (taskTracker could not start because "Failed to set permissions" ), but I resolved it using this patch: https://github.com/congainc/patch-hadoop_7682-1.0.x-win. I don't understand why this doesn't work when running the project form Eclipse. How can I solve this issue? > Hadoop-version is 1.2.1 > Core-Site.xml > > > > > > fs.default.name > hdfs://localhost:50000 > > > fs.file.impl > com.conga.services.hadoop.patch.HADOOP_7682.WinLocalFileSystem > Enables patch for issue HADOOP-7682 on Windows > > > hadoop.tmp.dir > /tmp/hadoop-${USER}/ > A base for other temporary directories. > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org