Hi, > > I am encountering the below error when i try to run unit tests > using MRUnit for mapreduce on Windows in my eclipse environment. > Version of Hadoop is 0.20.2. I already have Cygwin installed and > set in my PATH variable. > > Error: > org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing > permissions of `D:\\1328133600-1328134500.csv': 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:354) > at org.apache.hadoop.util.Shell.execCommand(Shell.java:337) > at > org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481) > at > org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473) > at > org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280) > at > org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:372) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:484) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:465) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:372) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:364) > > The error is similar as in > https://issues.apache.org/jira/browse/HADOOP-6209 , but i didnt find any > solutions for the same online, except for Hadoop version changes. > > Any pointers would be great. > > Regards, > Sahana >