Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5241

Reduce tasks get stuck because of over-estimated task size (regression from 0.18)

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.2, 0.20.0
    • None
    • None
    • Red Hat Enterprise Linux Server release 5.2
      JDK 1.6.0_11
      Hadoop 0.19.0

    • Reviewed

    Description

      I have a simple MR benchmark job that computes PageRank on about 600 GB of HTML files using a 100 node cluster. For some reason, my reduce tasks get caught in a pending state. The JobTracker's log gets filled with the following messages:

      2009-02-12 15:47:29,839 WARN org.apache.hadoop.mapred.JobInProgress: No room for reduce task. Node tracker_d-59.cs.wisc.edu:localhost/127.0.0.1:33227 has 110125027328 bytes free; but we expect reduce input to take 399642198235
      2009-02-12 15:47:29,852 WARN org.apache.hadoop.mapred.JobInProgress: No room for reduce task. Node tracker_d-67.cs.wisc.edu:localhost/127.0.0.1:48626 has 107537776640 bytes free; but we expect reduce input to take 399642198235
      2009-02-12 15:47:29,885 WARN org.apache.hadoop.mapred.JobInProgress: No room for reduce task. Node tracker_d-73.cs.wisc.edu:localhost/127.0.0.1:58849 has 113631690752 bytes free; but we expect reduce input to take 399642198235
      <SNIP>

      The weird thing is that I get through about 70 reduce tasks completing before it hangs. If I reduce the amount of the input data on 100 nodes down to 200GB, then it seems to work. As I scale the amount of input to the number of nodes, I can get it work some of the times on 50 nodes and without any problems on 25 nodes and less.

      Note that it worked without any problems on Hadoop 0.18 late last year without changing any of the input data or the actual MR code.

      Attachments

        1. hadoop-jobtracker.log.gz
          1.02 MB
          Andy Pavlo
        2. 5241_v1.patch
          6 kB
          Sharad Agarwal
        3. hadoop-patched-jobtracker.log.gz
          905 kB
          Andy Pavlo
        4. hadoop_task_screenshot.png
          78 kB
          Andy Pavlo
        5. 5241_v1.patch
          6 kB
          Sharad Agarwal

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sharadag Sharad Agarwal
            pavlo Andy Pavlo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment