You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2015/04/17 06:40:59 UTC

[jira] [Created] (STORM-790) Log "task id is null" instead of let worker died (NPE in consumeBatchToCursor)

Jungtaek Lim created STORM-790:
----------------------------------

             Summary: Log "task id is null" instead of let worker died (NPE in consumeBatchToCursor)
                 Key: STORM-790
                 URL: https://issues.apache.org/jira/browse/STORM-790
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 0.9.2-incubating, 0.9.3
            Reporter: Jungtaek Lim
            Assignee: Jungtaek Lim


In STORM-770, some users have observed that worker suddenly died with NPE in consumeBatchToCursor().

Looks like it can occur when "task" in "mk-transfer-fn" is null.
It may not be an issue before 0.9.2-incubating, since worker just ignores that tuple. 
Please see https://issues.apache.org/jira/browse/STORM-770?focusedCommentId=14496199&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14496199.

Before finding root cause of this issue, it would be better to let worker not killed by this issue but just log with WARN or ERROR level.
It really makes sense cause before 0.9.2 Storm silently ignores tuple, and with Guaranteeing Message Processing, after timed-out tuple will be replayed. (It isn't applied to non-ack)



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