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

Chris Nauroth updated HDFS-4287:
--------------------------------

    Attachment: HDFS-4287.2.patch

Thank you, Arpit and Alejandro.  I am attaching a new patch to address your 
feedback.

{quote}
I did not understand the reason for this change in TestHdfsHelper
{quote}

This is the classic problem of trying to use testing paths prefixed with the 
local testing directory within HDFS.  On Windows, this would contain a ':' 
because of the drive spec, and HDFS validation logic rejects any path 
containing ':'.  The change in this patch switches to /tmp/<test name>, the 
same pattern that was used in numerous HDFS tests.  This does not change the 
actual testing working directory.  The HDFS metadata and block files still go 
in the test working directory under TEST_DIR_ROOT.  This only changes the 
logical paths that the test uses when interacting with HDFS.
                
> HTTPFS tests fail on Windows
> ----------------------------
>
>                 Key: HDFS-4287
>                 URL: https://issues.apache.org/jira/browse/HDFS-4287
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-4287.1.patch, HDFS-4287.2.patch
>
>
> The HTTPFS tests have some platform-specific assumptions that cause the tests 
> to fail when run on Windows.

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