[jira] [Commented] (KAFKA-5917) Kafka not starting
[ https://issues.apache.org/jira/browse/KAFKA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16170443#comment-16170443 ] Balu commented on KAFKA-5917: - You made my day.. Kafka started successfully after deleting > Kafka not starting > -- > > Key: KAFKA-5917 > URL: https://issues.apache.org/jira/browse/KAFKA-5917 > Project: Kafka > Issue Type: Bug > Components: admin >Affects Versions: 0.10.0.0 >Reporter: Balu > > Getting this error in kafka,zookeeper,schema repository cluster. > FATAL [Kafka Server 3], Fatal error during KafkaServer startup. Prepare to > shutdown (kafka.server.KafkaServer) > java.lang.IllegalArgumentException: requirement failed > at scala.Predef$.require(Predef.scala:212) > at > kafka.server.DynamicConfigManager$ConfigChangedNotificationHandler$.processNotification(DynamicConfigManager.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at scala.Option.map(Option.scala:146) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:90) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) > at > kafka.common.ZkNodeChangeNotificationListener.kafka$common$ZkNodeChangeNotificationListener$$processNotifications(ZkNodeChangeNotificationListener.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener.processAllNotifications(ZkNodeChangeNotificationListener.scala:79) > at > kafka.common.ZkNodeChangeNotificationListener.init(ZkNodeChangeNotificationListener.scala:67) > at > kafka.server.DynamicConfigManager.startup(DynamicConfigManager.scala:122) > at kafka.server.KafkaServer.startup(KafkaServer.scala:233) > at > kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37) > at kafka.Kafka$.main(Kafka.scala:67) > at kafka.Kafka.main(Kafka.scala) > Please help -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KAFKA-5917) Kafka not starting
[ https://issues.apache.org/jira/browse/KAFKA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16170134#comment-16170134 ] Balu commented on KAFKA-5917: - Thanks mani & huxihx. Iam new to kafka can you help me where exactly i can find these /config/changes/config_change folder to remove manually. is it in Kafka nodes or zookeeper nodes. Sorry if i ask basic q. > Kafka not starting > -- > > Key: KAFKA-5917 > URL: https://issues.apache.org/jira/browse/KAFKA-5917 > Project: Kafka > Issue Type: Bug > Components: admin >Affects Versions: 0.10.0.0 >Reporter: Balu > > Getting this error in kafka,zookeeper,schema repository cluster. > FATAL [Kafka Server 3], Fatal error during KafkaServer startup. Prepare to > shutdown (kafka.server.KafkaServer) > java.lang.IllegalArgumentException: requirement failed > at scala.Predef$.require(Predef.scala:212) > at > kafka.server.DynamicConfigManager$ConfigChangedNotificationHandler$.processNotification(DynamicConfigManager.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at scala.Option.map(Option.scala:146) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:90) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) > at > kafka.common.ZkNodeChangeNotificationListener.kafka$common$ZkNodeChangeNotificationListener$$processNotifications(ZkNodeChangeNotificationListener.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener.processAllNotifications(ZkNodeChangeNotificationListener.scala:79) > at > kafka.common.ZkNodeChangeNotificationListener.init(ZkNodeChangeNotificationListener.scala:67) > at > kafka.server.DynamicConfigManager.startup(DynamicConfigManager.scala:122) > at kafka.server.KafkaServer.startup(KafkaServer.scala:233) > at > kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37) > at kafka.Kafka$.main(Kafka.scala:67) > at kafka.Kafka.main(Kafka.scala) > Please help -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KAFKA-5917) Kafka not starting
[ https://issues.apache.org/jira/browse/KAFKA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169714#comment-16169714 ] Manikumar commented on KAFKA-5917: -- This happens when you run Kafka-configs.sh script with new versions Kafka libs on an older version of Kafka server. In my guess, you are mostly running newer versions of KafkaManager against older versions of Kafka Cluster. you need to manually remove /config/changes/config_change_ zk path to restore kafka. > Kafka not starting > -- > > Key: KAFKA-5917 > URL: https://issues.apache.org/jira/browse/KAFKA-5917 > Project: Kafka > Issue Type: Bug > Components: admin >Affects Versions: 0.10.0.0 >Reporter: Balu > > Getting this error in kafka,zookeeper,schema repository cluster. > FATAL [Kafka Server 3], Fatal error during KafkaServer startup. Prepare to > shutdown (kafka.server.KafkaServer) > java.lang.IllegalArgumentException: requirement failed > at scala.Predef$.require(Predef.scala:212) > at > kafka.server.DynamicConfigManager$ConfigChangedNotificationHandler$.processNotification(DynamicConfigManager.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at scala.Option.map(Option.scala:146) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:90) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) > at > kafka.common.ZkNodeChangeNotificationListener.kafka$common$ZkNodeChangeNotificationListener$$processNotifications(ZkNodeChangeNotificationListener.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener.processAllNotifications(ZkNodeChangeNotificationListener.scala:79) > at > kafka.common.ZkNodeChangeNotificationListener.init(ZkNodeChangeNotificationListener.scala:67) > at > kafka.server.DynamicConfigManager.startup(DynamicConfigManager.scala:122) > at kafka.server.KafkaServer.startup(KafkaServer.scala:233) > at > kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37) > at kafka.Kafka$.main(Kafka.scala:67) > at kafka.Kafka.main(Kafka.scala) > Please help -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (KAFKA-5917) Kafka not starting
[ https://issues.apache.org/jira/browse/KAFKA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169693#comment-16169693 ] huxihx commented on KAFKA-5917: --- Could check the version of znode `/config/changes/config_change_*` by issuing `get /config/changes/config_change_* in Zookeeper to see the version is 1. > Kafka not starting > -- > > Key: KAFKA-5917 > URL: https://issues.apache.org/jira/browse/KAFKA-5917 > Project: Kafka > Issue Type: Bug > Components: admin >Affects Versions: 0.10.0.0 >Reporter: Balu > > Getting this error in kafka,zookeeper,schema repository cluster. > FATAL [Kafka Server 3], Fatal error during KafkaServer startup. Prepare to > shutdown (kafka.server.KafkaServer) > java.lang.IllegalArgumentException: requirement failed > at scala.Predef$.require(Predef.scala:212) > at > kafka.server.DynamicConfigManager$ConfigChangedNotificationHandler$.processNotification(DynamicConfigManager.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2$$anonfun$apply$2.apply(ZkNodeChangeNotificationListener.scala:95) > at scala.Option.map(Option.scala:146) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:95) > at > kafka.common.ZkNodeChangeNotificationListener$$anonfun$kafka$common$ZkNodeChangeNotificationListener$$processNotifications$2.apply(ZkNodeChangeNotificationListener.scala:90) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) > at > kafka.common.ZkNodeChangeNotificationListener.kafka$common$ZkNodeChangeNotificationListener$$processNotifications(ZkNodeChangeNotificationListener.scala:90) > at > kafka.common.ZkNodeChangeNotificationListener.processAllNotifications(ZkNodeChangeNotificationListener.scala:79) > at > kafka.common.ZkNodeChangeNotificationListener.init(ZkNodeChangeNotificationListener.scala:67) > at > kafka.server.DynamicConfigManager.startup(DynamicConfigManager.scala:122) > at kafka.server.KafkaServer.startup(KafkaServer.scala:233) > at > kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37) > at kafka.Kafka$.main(Kafka.scala:67) > at kafka.Kafka.main(Kafka.scala) > Please help -- This message was sent by Atlassian JIRA (v6.4.14#64029)