hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9887) globStatus does not correctly handle paths starting with a drive spec on Windows
Date Thu, 22 Aug 2013 17:43:51 GMT

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

Chris Nauroth updated HADOOP-9887:
----------------------------------

    Hadoop Flags: Reviewed

{quote}
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
{quote}

There are no new tests, but this patch is required for existing tests to pass on Windows.
 Chuan and I have both verified the fix on Windows machines.

I plan to commit this later today.
                
> 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
>            Assignee: Chuan Liu
>         Attachments: HADOOP-9887-trunk.2.patch, 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

Mime
View raw message