You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/08/20 20:16:52 UTC

[jira] [Updated] (HADOOP-9887) globStatus does not correctly handle paths starting with a drive spec on Windows

     [ https://issues.apache.org/jira/browse/HADOOP-9887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuan Liu updated HADOOP-9887:
------------------------------

    Attachment: HADOOP-9887-trunk.patch

Attaching a patch. I will run all the unit tests on Windows to verify the patch.
                
> globStatus does not correctly handle paths starting with a drive spec on Windows
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-9887
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9887
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Chris Nauroth
>         Attachments: HADOOP-9887-trunk.patch
>
>
> Recent file system changes have caused globStatus to stop working for paths starting with a drive spec on Windows.  The problem is most easily visible by running {{TestFileUtil#createJarWithClassPath}} on Windows.  This method attempts a globStatus with pattern {{*\{.jar,.JAR\}}}, and it no longer correctly identifies files at the path ending in .jar or .JAR.

--
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