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

Chris Nauroth updated HADOOP-8956:
----------------------------------

    Attachment: HADOOP-8956-branch-trunk-win.patch

The attached patch fixes the mkdir errors in these tests.  
TestLocal_S3FileContextURI and TestS3_LocalFileContextURI now pass.  The other 
test suites mentioned now fail for different reasons, which I will group into 
other existing jiras.

There were 3 problems that this patch fixed:

# RawLocalFs had a hard-coded call to ln, which I switched to using Shell to 
get the right platform-specific command.
# FileContextTestHelper was mangling the root directory for test data, and I 
needed to change it to properly handle a Windows path that starts with a drive 
specification.
# FileContextURIBase test cases used a few edge cases that cannot be valid 
paths on Windows.  I didn't want to delete these from the tests, because they 
were probably important to someone on Unix.  Instead, I added logic to skip 
them if running on Windows.

                
> FileSystem.primitiveMkdir failures on Windows cause multiple test suites to 
> fail
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-8956
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8956
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8956-branch-trunk-win.patch
>
>
> Multiple test suites fail on Windows in calls to FileSystem.primitiveMkdir.

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

Reply via email to