its a /tmp/ folder so I guess all the users will need access to it. better it make it a routine linux like /tmp folder
On Sun, May 12, 2013 at 11:12 PM, shashwat shriparv < [email protected]> wrote: > the user through which you are running your hadoop, set permission to tmp > dir for that user. > > *Thanks & Regards * > > ∞ > Shashwat Shriparv > > > > On Fri, May 10, 2013 at 5:24 PM, Nitin Pawar <[email protected]>wrote: > >> What are the permission of your /tmp/ folder? >> On May 10, 2013 5:03 PM, "Khaleel Khalid" <[email protected]> >> wrote: >> >>> Hi all, >>> >>> I am facing the following error when I run a simple WordCount >>> program using hadoop-1.0.4 on eclipse(Galileo). The map/reduce plugin >>> version I use is 1.0.4 as well. It would be really helpful if >>> someone gives me a solution for the problem. >>> >>> ERROR: >>> >>> 13/05/10 16:53:51 WARN util.NativeCodeLoader: Unable to load >>> native-hadoop library for your platform... using builtin-java classes where >>> applicable >>> >>> 13/05/10 16:53:51 ERROR security.UserGroupInformation: >>> *PriviledgedActionException* as:khaleelk *cause:java.io.IOException*: >>> Failed to set permissions of path: >>> \tmp\hadoop-khaleelk\mapred\staging\khaleelk-1067522586\.staging to 0700 >>> >>> Exception in thread "main" >>> *java.io.IOException*: Failed to set permissions of path: >>> \tmp\hadoop-khaleelk\mapred\staging\khaleelk-1067522586\.staging to 0700 >>> >>> at org.apache.hadoop.fs.FileUtil.checkReturnValue( >>> *FileUtil.java:689*) >>> >>> at org.apache.hadoop.fs.FileUtil.setPermission( >>> *FileUtil.java:662*) >>> >>> 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(Unknown Source) >>> >>> at org.apache.hadoop.security.UserGroupInformation.doAs( >>> *UserGroupInformation.java:1121*) >>> >>> at org.apache.hadoop.mapred.JobClient.submitJobInternal( >>> *JobClient.java:850*) >>> >>> at org.apache.hadoop.mapreduce.Job.submit( >>> *Job.java:500*) >>> >>> at org.apache.hadoop.mapreduce.Job.waitForCompletion( >>> *Job.java:530*) >>> >>> at WordCount.main( >>> *WordCount.java:65*) >>> >>> >>> >>> Thank you in advance. >>> >>> >>> >>> >>> >>> >>> >> > -- Nitin Pawar
