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

Chris Nauroth updated HADOOP-8958:
----------------------------------

    Attachment: HADOOP-8958.patch

The attached patch fixes this problem.  I'd like to start the patch on trunk 
and then immediately merge to branch-trunk-win after commit.

The problem was that the tests attempted to determine a testing mount point for 
ViewFS by taking the testing path and trimming the first segment from that.  On 
Windows, if the testing path is /C:/build/test, then this logic yields /C:, 
which is not an absolute path.  The ViewFS mount point must be an absolute 
path.  I changed this logic to use Path and walk up the directory hierarchy to 
the shortest absolute path that is not root.

                
> ViewFs:Non absolute mount name failures when running multiple tests on Windows
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-8958
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8958
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: viewfs
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-8958.patch
>
>
> This appears to be an issue with parsing a Windows-specific path.

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