The test TestMiniMRWithDFS.checkTaskDirectories is checking for task directories incorrectly --------------------------------------------------------------------------------------------
Key: HADOOP-4409 URL: https://issues.apache.org/jira/browse/HADOOP-4409 Project: Hadoop Core Issue Type: Test Components: mapred, test Reporter: Hemanth Yamijala The check for task directories in {{TestMiniMRWithDFS.checkTaskDirectories}} seems incorrect. The following code: {code} assertTrue("task tracker dir " + trackerDir + " does not exist.", trackerDir.isDirectory()); {code} in the test case seems to assume that every configured task tracker has the task tracker directory {{TaskTracker.SUBDIR}} created. However, this directory is only created if any task is assigned to the task tracker. As there is no real control over which task trackers will actually be assigned tasks, it seems an incorrect check. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.