You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/05/23 20:23:29 UTC
[jira] Created: (HADOOP-241) TestCopyFiles fails under cygwin due
to incorrect path
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
Assigned to: Milind Bhandarkar
Priority: Minor
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
[jira] Closed: (HADOOP-241) TestCopyFiles fails under cygwin due to
incorrect path
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-241?page=all ]
Doug Cutting closed HADOOP-241:
-------------------------------
> 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
> Fix For: 0.3.0
> 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
[jira] Resolved: (HADOOP-241) TestCopyFiles fails under cygwin due
to incorrect path
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-241?page=all ]
Doug Cutting resolved HADOOP-241:
---------------------------------
Fix Version: 0.3
Resolution: Fixed
I just committed this. Thanks, Milind.
> 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
> Fix For: 0.3
> 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
[jira] Updated: (HADOOP-241) TestCopyFiles fails under cygwin due
to incorrect path
Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
[ 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