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

Scott Reynolds commented on KAFKA-4577:
---------------------------------------

Nothing interesting was happening, obviously ISR change was happening but it 
wasn't triggered by a human.

Had this happen again yesterday. 

It is unclear to me what is set to null and how it got to that state for this:
{code:java}
controller.deleteTopicManager.partitionsToBeDeleted.isEmpty
{code}

> 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)

Reply via email to