Rajesh Balamohan created TEZ-2782:
-------------------------------------

             Summary: VertexInfo.getAvgExecutionTimeInterval throws NPE when 
task does not have any valid attempts info
                 Key: TEZ-2782
                 URL: https://issues.apache.org/jira/browse/TEZ-2782
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Rajesh Balamohan
            Assignee: Rajesh Balamohan


{noformat}
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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to