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

NPE in FileScanner#getProgress

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0, 0.11.1
    • Storage
    • None

    Description

      getProgress can cause NPE when scanner are closed

      2016-01-06 07:51:57,746 ERROR: org.apache.tajo.worker.ExecutionBlockContext (run(471)) - 
      java.lang.NullPointerException
      	at org.apache.tajo.storage.text.DelimitedTextFile$DelimitedTextFileScanner.getProgress(DelimitedTextFile.java:358)
      	at org.apache.tajo.engine.planner.physical.SeqScanExec.getProgress(SeqScanExec.java:345)
      	at org.apache.tajo.engine.planner.physical.UnaryPhysicalExec.getProgress(UnaryPhysicalExec.java:87)
      	at org.apache.tajo.worker.TaskImpl.updateProgress(TaskImpl.java:319)
      	at org.apache.tajo.worker.ExecutionBlockContext$Reporter$1.run(ExecutionBlockContext.java:467)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            jhkim Jinho Kim
            jhkim Jinho Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: