我正在通过Ambari在HDP 2.3集群上设置Kafka(0.8.2.2)。当我尝试启动代理时,它会因以下错误而关闭。
[2015-12-24 18:37:04,466] FATAL [Kafka Server 0], Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:313)
at scala.None$.get(Option.scala:311)
at kafka.controller.KafkaController.clientId(KafkaController.scala:215)
at kafka.controller.ControllerBrokerRequestBatch.<init>(ControllerChannelManager.scala:189)
at kafka.controller.PartitionStateMachine.<init>(PartitionStateMachine.scala:48)
at kafka.controller.KafkaController.<init>(KafkaController.scala:156)
at kafka.server.KafkaServer.startup(KafkaServer.scala:148)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:29)
at kafka.Kafka$.main(Kafka.scala:72)
at kafka.Kafka.main(Kafka.scala)
有什么建议吗?