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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/06/11 19:08:20 UTC

[jira] [Commented] (HADOOP-9638) parallel test changes caused invalid test path for several HDFS tests on Windows

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

Chris Nauroth commented on HADOOP-9638:
---------------------------------------

HADOOP-9287 changed {{FileSystemTestHelper}} to allow passing an override of the test root to its constructor.  This supports overriding to paths of the form /tmp/<test name> for HDFS.  It looks like we missed {{FileContextTestHelper}} though, so we'll likely need similar changes for that.  An example of a failing test is {{TestFcHdfsCreateMkdir}}.

[~aklochkov], are you interested in doing a follow-up patch?  If not, I can take it.  I'm also happy to help with testing.
                
> parallel test changes caused invalid test path for several HDFS tests on Windows
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-9638
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9638
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Chris Nauroth
>
> HADOOP-9287 made changes to the tests to support running multiple tests in parallel.  Part of that patch accidentally reverted a prior change to use paths of the form "/tmp/<test name>" when running tests against HDFS.  On Windows, use of the test root will contain a drive spec (i.e. C:\dir), and the colon character is rejected as invalid by HDFS.

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