You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/07/03 02:13:22 UTC
[jira] [Updated] (HADOOP-9687) branch-1-win
TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused
by incorrect DFS path construction on Windows
[ https://issues.apache.org/jira/browse/HADOOP-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HADOOP-9687:
----------------------------------
Summary: branch-1-win TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused by incorrect DFS path construction on Windows (was: Condor-Branch-1 TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused by incorrect DFS path construction on Windows)
> 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
> 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