GitHub user lujinhong opened a pull request:
https://github.com/apache/storm/pull/1140
[STORM-1065] kafka-partition can not find leader in zookeeper #1132
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lujinhong/storm master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1140.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 #1140
----
commit f01f0c1953500d2b23b5f0b6c0fa1083a46a984f
Author: lujinhong <[email protected]>
Date: 2016-02-23T10:23:23Z
Update KafkaUtils.java
add checkLeader() to check if the leader is active.
commit ad610ee71149f793f986e6ad8085f1370c1317c0
Author: lujinhong <[email protected]>
Date: 2016-02-23T10:25:22Z
Update ZkCoordinator.java
if leader of the patition is not active, do not add to _manager.
commit 020ef1d1cf87fe19ca0e26f3043bf05d0d4f95b7
Author: lujinhong <[email protected]>
Date: 2016-02-23T10:30:17Z
Update PartitionManager.java
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---