You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Jun Ping Du <jd...@vmware.com> on 2012/10/29 01:38:54 UTC

Re: error on windows machine.

Move to correct alias. general@ is talking about project going.
Abhinav, I don't think Windows is the target platform for version 1.0.3. There are some efforts on branch-1-win, but I am not sure the status there. You may check it from other guys here.

Thanks,

Junping 

----- Original Message -----
From: "Abhinav Mishra" <ab...@yahoo.com>
To: general@hadoop.apache.org
Sent: Sunday, October 28, 2012 11:07:42 AM
Subject: error on windows machine.

Hi,
 
I am getting the following error while running the sample on a window machine.
I can see lot of messages on net about it, but most of them talk about going back to version 0.20.2 which is pretty old version. Is it the only option available or some thing else can be done. 
I am using version 1.0.3. Below is the error:
 $ bin/hadoop jar hadoop-examples-1.0.3.jar grep input output 'dfs[a-z.]+'
12/10/28 23:22:07 WARN util.NativeCodeLoader: Unable to load native-hadoop libra ry for your platform... using builtin-java classes where applicable
12/10/28 23:22:07 ERROR security.UserGroupInformation: PriviledgedActionExceptio n as:223900 cause:java.io.IOException: Failed to set permissions of path: \tmp\h adoop-223900\mapred\staging\223900850789093\.staging to 0700
java.io.IOException: Failed to set permissions of path: \tmp\hadoop-223900\mapre d\staging\223900850789093\.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(RawLocalFileSys tem.java:509)
at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.jav a:344)
at org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:18 9)
at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmi ssionFiles.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(UserGroupInforma tion.java:1121)
at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:8 50)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:824)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1261)
at org.apache.hadoop.examples.Grep.run(Grep.java:69)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.examples.Grep.main(Grep.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(Progra mDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)