[ https://issues.apache.org/jira/browse/STORM-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15160303#comment-15160303 ]
ASF GitHub Bot commented on STORM-1065: --------------------------------------- GitHub user lujinhong opened a pull request: https://github.com/apache/storm/pull/1146 [STORM-1065] kafka-partition can not find leader in zookeeper fix [STORM-1065] kafka-partition can not find leader in zookeeper You can merge this pull request into a Git repository by running: $ git pull https://github.com/lujinhong/storm storm-1065 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/1146.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 #1146 ---- commit 556ab52fdf9cffe39994cb601f5103d1219c4052 Author: jinhong-lu <lu_jin_h...@163.com> Date: 2016-02-24T06:49:09Z fix storm-1065: kafka-partition can not find leader in zookeeper ---- > storm-kafka : kafka-partition can not find leader in zookeeper > --------------------------------------------------------------- > > Key: STORM-1065 > URL: https://issues.apache.org/jira/browse/STORM-1065 > Project: Apache Storm > Issue Type: Improvement > Components: storm-kafka > Reporter: dongxinwang > Priority: Minor > > If the Kafka cluster is not consistent with the zookeeper data, the partition > can not find leader in zookeeper.In storm-kafka, it throws runtime > exception"No leader found for partition",it is not friendly. > Suggestion: > If there is no leader partition in zookeeper,don't add the partition to > GlobalPartitionInformation object,instead of throwing runtime exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)