hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8487) Address test failures related to Windows paths not being valid DFS paths
Date Thu, 07 Jun 2012 21:48:23 GMT

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

Ivan Mitic commented on HADOOP-8487:
------------------------------------

bq. why is WebHdfsFileSystem special cased in a few instances?
Test utility class {{FileSystemTestHelper}} is used by two tests, {{TestFSMainOperationsLocalFileSystem}}
and {{TestFSMainOperationsWebHdfs}}. The former test uses DFS and the latter uses LocalFileSystem.
I could change {{FileSystemTestHelper}} to always use {{DFS_TEST_ROOT_DIR}} but in that case,
local files would be created under a path different than {{System.getProperty("test.build.data")}}
what I was trying to avoid in my changes.
                
> 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

        

Mime
View raw message