hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8953) Shell PathData parsing failures on Windows
Date Mon, 29 Oct 2012 22:29:11 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486436#comment-13486436
] 

Daryn Sharp commented on HADOOP-8953:
-------------------------------------

bq. PathData seems to replicate a lot of the logic from Path, can we avoid this?
Sadly, no.  The {{Path}} object will munge the path in various ways such that you can't get
the string back used to create the {{Path}} object.  This requires {{PathData}} to maintain
its own copy of the path string so the output to the user matches exactly what they provided
to the command.  {{Path}} also strips trailing slashes which breaks the shell's ability to
disambiguate if the path is to be treated as a directory.
                
> Shell PathData parsing failures on Windows
> ------------------------------------------
>
>                 Key: HADOOP-8953
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8953
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8953-branch-trunk-win.patch
>
>
> Several test suites fail on Windows, apparently due to Windows-specific path parsing
bugs in PathData.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message