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

ConcurrentModificationException in HistoryEventTimelineConversion for AppLaunchedEvent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.7.2, 0.9.0, 0.8.5
    • None
    • None
    • Reviewed

    Description

      AppLaunchedEvent contains the amConfig from the DAGAppMaster that is used to initialized several services. If Configuration#iterator is called while someone calls Configuration#set, HistoryEventTimelineConversion#convertAppLaunchedEvent will throw a CME.

      java.util.ConcurrentModificationException
      	at java.util.Hashtable$Enumerator.next(Hashtable.java:1367)
      	at org.apache.hadoop.conf.Configuration.iterator(Configuration.java:2451)
      	at org.apache.tez.dag.history.utils.DAGUtils.convertConfigurationToATSMap(DAGUtils.java:449)
      	at org.apache.tez.dag.history.logging.ats.HistoryEventTimelineConversion.convertAppLaunchedEvent(HistoryEventTimelineConversion.java:177)
      	at org.apache.tez.dag.history.logging.ats.HistoryEventTimelineConversion.convertToTimelineEntity(HistoryEventTimelineConversion.java:69)
      

      Attachments

        1. TEZ-3413.3.patch
          3 kB
          Jonathan Turner Eagles
        2. TEZ-3413.2.patch
          3 kB
          Jonathan Turner Eagles
        3. TEZ-3413.1.patch
          0.8 kB
          Jonathan Turner Eagles
        4. TEZ-3413.test.patch
          1 kB
          Jonathan Turner Eagles

        Issue Links

          Activity

            People

              jeagles Jonathan Turner Eagles
              jeagles Jonathan Turner Eagles
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: