Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1549

NPE avoidance on makeStageHistory Function in Stage.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.11.0
    • None
    • QueryMaster
    • None

    Description

      There are some possibility on NPE in makeStageHistory function. It is not a quite big issue on Tajo Cluster, but it could be lessened error logs.

      java.lang.NullPointerException
      	at org.apache.tajo.querymaster.Stage.makeStageHistory(Stage.java:471)
      	at org.apache.tajo.querymaster.Stage.getStageHistory(Stage.java:445)
      	at org.apache.tajo.querymaster.Query.makeStageHistories(Query.java:295)
      	at org.apache.tajo.querymaster.Query.getQueryHistory(Query.java:288)
      	at org.apache.tajo.querymaster.QueryMaster$QueryMasterContext.stopQuery(QueryMaster.java:369)
      	at org.apache.tajo.querymaster.QueryMaster$QueryStopEventHandler.handle(QueryMaster.java:425)
      	at org.apache.tajo.querymaster.QueryMaster$QueryStopEventHandler.handle(QueryMaster.java:422)
      	at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:173)
      	at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:106)
      	at java.lang.Thread.run(Thread.java:701)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ykrips Jihun Kang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: