FAQ
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

Search Discussions

  • Milind Bhandarkar (JIRA) at May 23, 2006 at 11:41 pm
    [ 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
  • Doug Cutting (JIRA) at May 24, 2006 at 5:57 pm
    [ 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
  • Doug Cutting (JIRA) at Jun 5, 2006 at 11:10 pm
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMay 23, '06 at 6:24p
activeJun 5, '06 at 11:10p
posts4
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Doug Cutting (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase