kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4577) NPE in ControllerChannelManager.scala::addUpdateMetadataRequestForBrokers
Date Sun, 01 Jan 2017 04:26:58 GMT

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

huxi commented on KAFKA-4577:
-----------------------------

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)

Mime
View raw message