Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-380

The test TestMiniMRWithDFS.checkTaskDirectories is checking for task directories incorrectly

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The check for task directories in TestMiniMRWithDFS.checkTaskDirectories seems incorrect. The following code:

      assertTrue("task tracker dir " + trackerDir + " does not exist.", 
                       trackerDir.isDirectory());
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yhemanth Hemanth Yamijala
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: