hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NOMURA Yoshihide <y.nom...@jp.fujitsu.com>
Subject Re: Hadoop example in vista
Date Wed, 02 Jul 2008 05:38:46 GMT
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
> 

-- 
NOMURA Yoshihide:
     Software Innovation Laboratory, Fujitsu Labs. Ltd., Japan
     Tel: 044-754-2675 (Ext: 7112-6358)
     Fax: 044-754-2570 (Ext: 7112-3834)
     E-Mail: [y.nomura@jp.fujitsu.com]


Mime
View raw message