2016-10-13 75 views
4

沒有任何自定義配置上DCOS安​​裝卡夫卡安裝卡夫卡給出以下日誌無法在DCOS

羣集配置是:

8私人節點, 2公共節點

24個核心總, 320 GB Ram總計

所有資源均爲免費。

stderr輸出:

log4j:WARN No appenders could be found for logger (org.jboss.logging). 
log4j:WARN Please initialize the log4j system properly. 
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 
Exception in thread "main" java.lang.NullPointerException 
at com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock.initializeStatus(KafkaUpdateBlock.java:196) 
at com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock.<init>(KafkaUpdateBlock.java:50) 
at com.mesosphere.dcos.kafka.plan.KafkaUpdatePhase.createBlocks(KafkaUpdatePhase.java:83) 
at com.mesosphere.dcos.kafka.plan.KafkaUpdatePhase.<init>(KafkaUpdatePhase.java:27) 
at com.mesosphere.dcos.kafka.scheduler.KafkaScheduler.<init>(KafkaScheduler.java:125) 
at com.mesosphere.dcos.kafka.scheduler.Main.run(Main.java:70) 
at com.mesosphere.dcos.kafka.scheduler.Main.run(Main.java:21) 
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:40) 
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:77) 
at io.dropwizard.cli.Cli.run(Cli.java:70) 
at io.dropwizard.Application.run(Application.java:80) 
at com.mesosphere.dcos.kafka.scheduler.Main.main(Main.java:27) 

標準輸出輸出:

ERROR com.mesosphere.dcos.kafka.scheduler.KafkaScheduler: Got 1 errors from new config. Falling back to last valid config. 
INFO com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock: Setting initial status for: broker-0 
INFO com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock: TargetConfigName: 67004a73-e9a0-4bf6-8e01-9eb52a674c1a currentConfigName: null 
Command exited with status 1 (pid: 10171) 
+1

你能分享更多的日誌嗎?另外,你是否得到了一個乾淨安裝的Kafka這個錯誤?我假設你以前沒有在此羣集上安裝Kafka,或者如果您在嘗試安裝新的之前清理了以前的狀態,請按照以下說明進行操作:https://docs.mesosphere.com/1.8/使用/服務指南/ kafka /卸載/ – mohitsoni

+0

@mohitsoni感謝它從zookeeper清除之前的狀態後工作。 – Kiba

+0

@mohitsoni我剛剛從GUI中卸載它。 – Kiba

回答