[
https://issues.apache.org/jira/browse/SAMZA-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993886#comment-15993886
]
ASF GitHub Bot commented on SAMZA-1257:
---------------------------------------
GitHub user sborya opened a pull request:
https://github.com/apache/samza/pull/156
SAMZA-1257: make sure a dataChange listener in LeaderElection is always
initialized.
@xinyuiscool, @navina please review.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/navina/samza SAMZA-1257
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/156.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 #156
----
commit 36a1cfec4aacaed5550a608cead9a45f5edd6047
Author: Boris Shkolnik <[email protected]>
Date: 2017-05-02T21:17:44Z
make sure a dataChange listener in LeaderElection is always initialized
----
> StandAlone LeaderElector sometimes passes null listener in DataChange
> subscription.
> -----------------------------------------------------------------------------------
>
> Key: SAMZA-1257
> URL: https://issues.apache.org/jira/browse/SAMZA-1257
> Project: Samza
> Issue Type: Bug
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
>
> This listener for previously registered node is not initialized in some cases.
> This causes NPE.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)