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 "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/06/06 23:41:23 UTC

[jira] [Updated] (HADOOP-8487) Address test failures related to Windows paths not being valid DFS paths

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

Ivan Mitic updated HADOOP-8487:
-------------------------------

    Attachment: HADOOP-8487-branch-1-win.patch

Attaching patch with the fix proposal. This fix modifies problematic tests to use an "abstract" hardcode path instead of System.getProperty("test.build.data") path, as the later one resolves to a local path that fails the DFS check.

This was initially part of the patch for HADOOP-8409 but was spit as it generally represents an issue on its own.
                
> Address test failures related to Windows paths not being valid DFS paths
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-8487
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8487
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Ivan Mitic
>         Attachments: HADOOP-8487-branch-1-win.patch
>
>
> There is a number of tests that fail on Windows because Hadoop's distributed file system does not allow colon character in DFS paths. Specifically, passing in the following path to DFS:
> {code}/c:/some/path{code}
> would fail DFSUtil#isValidName check and cause the current operation to fail. Any test that is using local absolute path in the context of the DFS will fail because of this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira