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

Analyzer: Fix VertexInfo::getLastTaskToFinish comparison

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.1
    • None
    • None
    • Reviewed

    Description

      VertexInfo::getLastTaskToFinish incorrectly compares with getStartTimeInterval. This needs to be fixed. Observed timsort exceptions when analyzing some dag zips.

      java.lang.IllegalArgumentException: Comparison method violates its general contract!
      	at java.util.TimSort.mergeHi(TimSort.java:895)
      	at java.util.TimSort.mergeAt(TimSort.java:512)
      	at java.util.TimSort.mergeForceCollapse(TimSort.java:453)
      	at java.util.TimSort.sort(TimSort.java:250)
      	at java.util.Arrays.sort(Arrays.java:1435)
      	at java.util.Collections.sort(Collections.java:230)
      	at org.apache.tez.history.parser.datamodel.VertexInfo.getLastTaskToFinish(VertexInfo.java:542)
      

      Attachments

        1. TEZ-3869.2.patch
          3 kB
          Rajesh Balamohan
        2. TEZ-3869.1.patch
          0.9 kB
          Rajesh Balamohan

        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: