hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod K V (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6209) chmod fails on Windows+cygwin
Date Wed, 26 Aug 2009 12:45:59 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747920#action_12747920
] 

Vinod K V commented on HADOOP-6209:
-----------------------------------

A quick look at DF.java and DU.java shows that they may also result in this same exception.
Can you check it by running the DF and DU classes directly?

> chmod fails on Windows+cygwin
> -----------------------------
>
>                 Key: HADOOP-6209
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6209
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Kohsuke Kawaguchi
>            Assignee: Kohsuke Kawaguchi
>         Attachments: HDFS-569.diff
>
>
> When run on Windows + cygwin, chmod fails because it fails to call {{makeShellPath}}
on the parameter.
> The strack trace with 0.19.1 below:
> {noformat}
> org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `C:\\files\\hudson\\hadoop\\task-tracker\\taskTracker\\jobcache\\job_200908191713_0008\\job.xml':
No such file or directory
> 	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:338)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:540)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:532)
> 	at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:274)
> 	at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:364)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:487)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:468)
> 	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:375)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:208)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
> 	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1214)
> 	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1195)
> 	at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:750)
> 	at org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1656)
> 	at org.apache.hadoop.mapred.TaskTracker.access$1200(TaskTracker.java:102)
> 	at org.apache.hadoop.mapred.TaskTracker$TaskLauncher.run(TaskTracker.java:1621)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message