[ http://issues.apache.org/jira/browse/HADOOP-241?page=all ]
Milind Bhandarkar updated HADOOP-241:
-------------------------------------
Attachment: hadoop-241.patch
First bug was in the test iself, which was using string instead of Path to
construct a path. That was fixed. The second bug was that when Namenode was
made to stop from MiniDFSCluster, it was correctly closing FSNamesystem, but it
was not closing the FSDirectory. As a result the editlog was never getting
closed. On Windows, when it was trying to create the MiniDFSCluster again, it
could not format the namedir because the editlog was still not closed. Fixed it.
> TestCopyFiles fails under cygwin due to incorrect path
> ------------------------------------------------------
>
> Key: HADOOP-241
> URL: http://issues.apache.org/jira/browse/HADOOP-241
> Project: Hadoop
> Type: Bug
> Components: fs
> Environment: Windows
> Reporter: Konstantin Shvachko
> Assignee: Milind Bhandarkar
> Priority: Minor
> Attachments: hadoop-241.patch
>
> Under cygwin TestCopyFiles generates an incorrect url which includes windows
> style path.
> This is the result of concatenation of a win path with unix path.
> File.getPath() should be used to produce a consistent path.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira