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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.1
    • 0.21.0
    • None
    • None
    • 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
          Christopher Douglas
        2. 5664-1.patch
          13 kB
          Christopher Douglas

        Issue Links

          Activity

            People

              cdouglas Christopher Douglas
              bryanduxbury Bryan Duxbury
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: