hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Noguchi <knogu...@yahoo-inc.com>
Subject FW: [jira] Created: (HDFS-569) chmod fails on Windows+cygwin
Date Tue, 25 Aug 2009 22:35:45 GMT
Hi,

It would be nice if someone can help him.
He's the owner of Hudson (we all rely on) :)  .

Koji


------ Forwarded Message
From: "Kohsuke Kawaguchi (JIRA)" <jira@apache.org>
Reply-To: <hdfs-dev@hadoop.apache.org>
Date: Tue, 25 Aug 2009 15:30:59 -0700
To: <hdfs-dev@hadoop.apache.org>
Subject: [jira] Created: (HDFS-569) chmod fails on Windows+cygwin

chmod fails on Windows+cygwin
-----------------------------

                 Key: HDFS-569
                 URL: https://issues.apache.org/jira/browse/HDFS-569
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs client
            Reporter: 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_2009081
91713_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.jav
a:532)
 at 
org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:27
4)
 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.


------ End of Forwarded Message


Mime
View raw message