hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9687) branch-1-win TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused by incorrect DFS path construction on Windows
Date Thu, 04 Jul 2013 16:07:48 GMT

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

Chris Nauroth updated HADOOP-9687:
----------------------------------

         Component/s: test
    Target Version/s: 1-win
        Hadoop Flags: Reviewed
    
> branch-1-win TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused
by incorrect DFS path construction on Windows
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9687
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9687
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Xi Fang
>            Assignee: Xi Fang
>            Priority: Minor
>             Fix For: 1-win
>
>         Attachments: HADOOP-9687.1.patch
>
>
> TestJobTrackerQuiescence is a test case introduced in https://issues.apache.org/jira/browse/MAPREDUCE-4328.

> Here is the code generating a file path on DFS:
> {code}
>  final Path testDir = 
>     new Path(System.getProperty("test.build.data", "/tmp"), "jt-safemode");
> {code}
> This doesn't work on Windows because "test.build.data" would have a driver name with
":" (e.g. D:/hadoop/build/test). However, this is not a valid path name on DFS because colon
is disallowed (See DFSUtil#isValidName()).
> A similar problem happens to TestFileLengthOnClusterRestart#testFileLengthWithHSyncAndClusterRestartWithOutDNsRegister()
> {code}
>   Path path = new Path(MiniDFSCluster.getBaseDir().getPath(), "test");
> {code}

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