无法将路径 ..\taskTracker\cyg_server 的权限设置为 0700

无法将路径 ..\taskTracker\cyg_server 的权限设置为 0700

在 Hadoop 集群中的 Cygwin 中运行作业时,权限失败。

$ bin/hadoop jar hadoop-examples-*.jar wordcount inputwords outputwords2
Patch for HADOOP-7682: Instantiating workaround file system
13/09/19 16:37:39 INFO input.FileInputFormat: Total input paths to process : 1       
13/09/19 16:37:41 INFO mapred.JobClient: Running job: job_201309191635_0002
13/09/19 16:37:42 INFO mapred.JobClient:  map 0% reduce 0%
13/09/19 16:37:43 INFO mapred.JobClient: Task Id : attempt_201309191635_0002_m_000002_0,     Status : FAILED
Error initializing attempt_201309191635_0002_m_000002_0:
java.io.IOException: Failed to set permissions of path:  \cygwin64\usr\local\hadoop\htemp\mapred\local\taskTracker\cyg_server to 0700
    at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:691)

我尝试更改权限,但没有成功。有什么解决办法吗?

chmod 0700 "c:\cygwin64\usr\local\hadoop\htemp\mapred\local\taskTracker\cyg_server"

相关内容