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 Mon, 16 Jan 2017 01:36:26 GMT

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

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

I suspect the TopicDeletionManager instance in KafkaController is null although the controller
should have created an instance of that during the initialization. Could you check logs to
see if controller has been failed over to another broker?

> 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