[
https://issues.apache.org/jira/browse/KAFKA-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792071#comment-13792071
]
Neha Narkhede commented on KAFKA-417:
-------------------------------------
This is a race condition between the shutdown and the rebalance operation.
Though, from a cursory look, it seems that we acquire the rebalanceLock in
shutdown as well, so this might not be an issue in 0.8 HEAD. [~noslowerdna]
Would you mind retrying this using the latest 0.8 HEAD?
> NullPointerException in ZookeeperConsumerConnector
> --------------------------------------------------
>
> Key: KAFKA-417
> URL: https://issues.apache.org/jira/browse/KAFKA-417
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8
> Reporter: Neha Narkhede
> Assignee: Jun Rao
>
> [info] == kafka.integration.LazyInitProducerTest ==
> [info] Test Starting:
> testProduceAndMultiFetch(kafka.integration.LazyInitProducerTest)
> [2012-07-25 11:50:26,394] ERROR group1_consumer2 error during syncedRebalance
> (kafka.consumer.ZookeeperConsumerConnector:99)
> java.lang.NullPointerException
> at
> kafka.utils.ZkUtils$.getChildrenParentMayNotExist(ZkUtils.scala:371)
> at kafka.utils.ZkUtils$.getCluster(ZkUtils.scala:389)
> at
> kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anonfun$syncedRebalance$1.apply$mcVI$sp(ZookeeperConsumerConnector.scala
> :444)
> at
> scala.collection.immutable.Range$ByOne$class.foreach$mVc$sp(Range.scala:282)
> at
> scala.collection.immutable.Range$$anon$2.foreach$mVc$sp(Range.scala:265)
> at
> kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener.syncedRebalance(ZookeeperConsumerConnector.scala:441)
> at
> kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anon$1.run(ZookeeperConsumerConnector.scala:398)
--
This message was sent by Atlassian JIRA
(v6.1#6144)