hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xi Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9687) Condor-Branch-1 TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused by incorrect DFS path construction on Windows
Date Tue, 02 Jul 2013 23:00:21 GMT
Xi Fang created HADOOP-9687:
-------------------------------

             Summary: Condor-Branch-1 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


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