hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eason.Lee <leongf...@gmail.com>
Subject Re: Hadoop example in vista
Date Thu, 03 Jul 2008 02:10:40 GMT
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.nomura@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
>>
>>
> --
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message