hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-259) YARN and MapReduce have multiple test failures on Windows due to rejection of invalid test data path
Date Mon, 10 Dec 2012 18:27:21 GMT

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

Chris Nauroth commented on YARN-259:
------------------------------------

Hi, Xuan.  For the {{LocalDirsHandlerService#validatePaths}} change, I'm wondering if we can
fix it without explicitly checking for Windows in this code.  I expect {{new Path(paths[i]).toUri()}}
will do the right thing on all platforms.  Then, {{Path#toString}} already has the logic to
trim the leading slash on Windows.
                
> YARN and MapReduce have multiple test failures on Windows due to rejection of invalid
test data path
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-259
>                 URL: https://issues.apache.org/jira/browse/YARN-259
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: YARN-259.branch-trunk-win.1.patch
>
>
> Initialization of {{MiniMRCluster}} or {{MiniYARNCluster}} fails due to presence of drive
spec in testing data 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

Mime
View raw message