atom feed1 message in org.apache.hadoop.core-userRe: Hadoop example in vista
FromSent OnAttachments
Eason.LeeJul 2, 2008 7:41 pm 
Subject:Re: Hadoop example in vista
From:Eason.Lee (leon@gmail.com)
Date:Jul 2, 2008 7:41:05 pm
List:org.apache.hadoop.core-user

I'm so silly I forgot to edit the hadoop-site.xml Why didn't hadoop project use a default hadoop-site.xml instand of the blank one~~~

Does that means I have to turn off the UAC? It seems useless just run cygwin using Run as administrator!! Thanks for your answering~~

2008/7/2 NOMURA Yoshihide <y.no@jp.fujitsu.com>:

Hello,

I think it is because of Vista's User Access Control (UAC), so you should start command prompt as administrator.

http://www.mydigitallife.info/2007/02/17/how-to-open-elevated-command-prompt-with-administrator-privileges-in-windows-vista/

Regards,

Eason.Lee:

I'm running hadoop example in vista with cygwin

Everything seems OK in setup, but when I run the example the error below happens.

08/07/01 13:41:34 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId= Exception in thread "main" org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `D:\\tmp\\hadoop-Eason\\mapred\\system\\job_local_1': Permission denied at org.apache.hadoop.util.Shell.runCommand(Shell.java:195) at org.apache.hadoop.util.Shell.run(Shell.java:134) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286) at org.apache.hadoop.util.Shell.execCommand(Shell.java:317) at

org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:522) at

org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:514) at

org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:267) at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:273) at

org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:549) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:700) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:973) at cyz.WordCount.run(WordCount.java:84) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at cyz.WordCount.main(WordCount.java:124) any suggestion will help thanks