You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/07 04:20:39 UTC

[jira] [Commented] (TAJO-2038) NPE in DelimitedTextFileScanner#getProgress

    [ https://issues.apache.org/jira/browse/TAJO-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086728#comment-15086728 ] 

ASF GitHub Bot commented on TAJO-2038:
--------------------------------------

GitHub user jinossy opened a pull request:

    https://github.com/apache/tajo/pull/930

    TAJO-2038: NPE in DelimitedTextFileScanner#getProgress.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinossy/tajo TAJO-2038

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/930.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #930
    
----
commit 9a87a281bef3df42fdfc5b036c90c4394b4ced8d
Author: Jinho Kim <jh...@apache.org>
Date:   2016-01-07T03:17:43Z

    TAJO-2038: NPE in DelimitedTextFileScanner#getProgress.

----


> NPE in DelimitedTextFileScanner#getProgress
> -------------------------------------------
>
>                 Key: TAJO-2038
>                 URL: https://issues.apache.org/jira/browse/TAJO-2038
>             Project: Tajo
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 0.11.0
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>            Priority: Minor
>             Fix For: 0.12.0, 0.11.1
>
>
> getProgress can cause NPE when  scanner are closed
> {noformat}
> 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)
> {noformat}



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