2013年8月2日星期五

Under windows using eclipse to connect to remote hadoop-1.2.0reported 0700 error, Failed to set permissions of path, permissions?

Environment: win7 (64) + eclipse4.2 remote redhat linux, installed eclipse-hadoop plugin 1.2.0

remote linux hadoop successfully start and run its own instance of success. But running in eclipse, at
13/07/27 14:23:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform ... using builtin- java classes where applicable
13/07/27 14:23:54 ERROR security.UserGroupInformation: PriviledgedActionException as: jialin cause: java.io.IOException: Failed to set permissions of path: \ tmp \ hadoop-jialin \ mapred \ staging \ jialin435209596 \. staging to 0700
Exception in thread "main" java.io.IOException: Failed to set permissions of path: \ tmp \ hadoop-jialin \ mapred \ staging \ jialin435209596 \. 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 (Subject.java: 415)
at org.apache.hadoop.security.UserGroupInformation.doAs (UserGroupInformation.java: 1190)
at org.apache.hadoop.mapred.JobClient.submitJobInternal (JobClient.java: 936)
at org.apache.hadoop.mapreduce.Job.submit (Job.java: 550)
at org.apache.hadoop.mapreduce.Job.waitForCompletion (Job.java: 580)
at com.jialin.hadoop.WordCount.main (WordCount.java: 83)


Many users say recompile: hadoop-core-1.2.0.jar

modify fileutil, but how to recompile it?

There is no more conservative solution?

------ Solution ------------------------------------ --------
  This reply was moderator deleted at 2013-07-31 14:53:37

------ For reference only ---------------------------------- -----



Thanks for the beauty! ! ! ! ! Thank you! ! ! !
------ For reference only -------------------------------------- -
pour points stickers, just this once! ! ! !

没有评论:

发表评论