Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BFF97200BFB for ; Wed, 11 Jan 2017 18:34:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BEC6C160B4E; Wed, 11 Jan 2017 17:34:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 16B0C160B3B for ; Wed, 11 Jan 2017 18:34:49 +0100 (CET) Received: (qmail 36306 invoked by uid 500); 11 Jan 2017 17:34:49 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 36294 invoked by uid 99); 11 Jan 2017 17:34:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 17:34:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E5DA62C029A for ; Wed, 11 Jan 2017 17:34:48 +0000 (UTC) Date: Wed, 11 Jan 2017 17:34:48 +0000 (UTC) From: "Scott Reynolds (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-4577) NPE in ControllerChannelManager.scala::addUpdateMetadataRequestForBrokers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 Jan 2017 17:34:50 -0000 [ 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)