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

Use of ReentrantLock.lock() in MapOutputBuffer takes up too much cpu time

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.19.1
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In examining a profile of one of my mappers today, I noticed that the method ReentrantLock.lock() in MapTask$MapOutputBuffer seems to be taking up ~11 seconds out of around 100 seconds total. It seems like 10% is an awfully large amount of time to spend in this lock.

        Attachments

        1. 5664-0.patch
          12 kB
          Chris Douglas
        2. 5664-1.patch
          13 kB
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              bryanduxbury Bryan Duxbury
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: