Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2612 Critical path analyzer for DAGs
  3. TEZ-2782

VertexInfo.getAvgExecutionTimeInterval throws NPE when task does not have any valid attempts info

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.1-alpha
    • None
    • None

    Description

      java.lang.NullPointerException
              at org.apache.tez.history.parser.datamodel.VertexInfo.getAvgExecutionTimeInterval(VertexInfo.java:204)
              at org.apache.tez.analyzer.plugins.CriticalPathAnalyzer.analyzeCriticalPath(CriticalPathAnalyzer.java:165)
              at org.apache.tez.analyzer.plugins.CriticalPathAnalyzer.analyze(CriticalPathAnalyzer.java:134)
              at org.apache.tez.analyzer.plugins.TezAnalyzerBase.run(TezAnalyzerBase.java:113)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.tez.analyzer.plugins.CriticalPathAnalyzer.main(CriticalPathAnalyzer.java:428)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
              at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
              at org.apache.tez.analyzer.plugins.AnalyzerDriver.main(AnalyzerDriver.java:31)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.apache.hadoop.util.RunJar.run(RunJar.java:222)
              at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      

      Attachments

        1. TEZ-2782.1.patch
          1.0 kB
          Rajesh Balamohan
        2. TEZ-2782.2.patch
          7 kB
          Bikas Saha

        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: