Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1515

DAGAppMaster : Thread contentions due to org.apache.tez.common.counters.ResourceBundles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.1
    • None
    • Reviewed

    Description

      Thread profiling DagAppMaster for a synthetic tez test revealed lots of contentions in RecoveryService / HistoryEventHandlingThread / AsyncDispatcher threads. All of these try to access tez counters and are blocked on "public static synchronized <T> T getValue(String bundleName, String key,String suffix, T defaultValue)".

      I will attach the thread profiler snapshots soon.

      Attachments

        1. TEZ-1515.2.patch
          8 kB
          Rajesh Balamohan
        2. TEZ-1515.1.patch
          4 kB
          Rajesh Balamohan
        3. RecoveryService.png
          187 kB
          Rajesh Balamohan
        4. HistoryLoggingService.png
          212 kB
          Rajesh Balamohan
        5. detailed_sample_stack_trace.txt
          7 kB
          Rajesh Balamohan
        6. DAGAppMaster_AsyncDispatcher.png
          251 kB
          Rajesh Balamohan

        Issue Links

          Activity

            People

              rajesh.balamohan Rajesh Balamohan
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: