You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "huxi (JIRA)" <ji...@apache.org> on 2017/01/01 04:26:58 UTC

[jira] [Comment Edited] (KAFKA-4577) NPE in ControllerChannelManager.scala::addUpdateMetadataRequestForBrokers

    [ https://issues.apache.org/jira/browse/KAFKA-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15790517#comment-15790517 ] 

huxi edited comment on KAFKA-4577 at 1/1/17 4:26 AM:
-----------------------------------------------------

Could you elaborate on the steps when you ran into this problem?


was (Author: huxi_2b):
Could you elaborate on the steps you ran into this problem?

> NPE in ControllerChannelManager.scala::addUpdateMetadataRequestForBrokers 
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-4577
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4577
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.1.0
>            Reporter: Scott Reynolds
>
> Seems as if either deleteTopicManager or deleteTopicManager. partitionsToBeDeleted wasn't set ?
> {code}
> java.lang.NullPointerException
> at kafka.controller.ControllerBrokerRequestBatch.addUpdateMetadataRequestForBrokers (ControllerChannelManager.scala:331)
> at kafka.controller.KafkaController.sendUpdateMetadataRequest (KafkaController.scala:1023)
> at kafka.controller.IsrChangeNotificationListener.kafka$controller$IsrChangeNotificationListener$$processUpdateNotifications (KafkaController.scala:1371)
> at kafka.controller.IsrChangeNotificationListener$$anonfun$handleChildChange$1.apply$mcV$sp (KafkaController.scala:1358)
> at kafka.controller.IsrChangeNotificationListener$$anonfun$handleChildChange$1.apply (KafkaController.scala:1351)
> at kafka.controller.IsrChangeNotificationListener$$anonfun$handleChildChange$1.apply (KafkaController.scala:1351)
> at kafka.utils.CoreUtils$.inLock (CoreUtils.scala:234)
> at kafka.controller.IsrChangeNotificationListener.handleChildChange (KafkaController.scala:1351)
> at org.I0Itec.zkclient.ZkClient$10.run (ZkClient.java:843)
> at org.I0Itec.zkclient.ZkEventThread.run (ZkEventThread.java:71)
> {code}



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