2016-10-13 8 views
4

Installation Kafka auf DCOS ohne individuelle Konfiguration folgende Protokolle ergibtkann nicht Kafka auf DCOS

Cluster-Konfiguration installieren ist:

8 Privat Knoten, 2 öffentlicher Knoten

24 Cores Total, 320 GB Ram Gesamt

Alle Ressourcen sind kostenlos.

StdErr Ausgang:

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) 

Stdout Ausgabe:

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

Können Sie mehr Protokolle teilen? Haben Sie diesen Fehler auch bei einer Neuinstallation von Kafka erhalten? Ich gehe davon aus, dass Sie Kafka zuvor nicht auf diesem Cluster installiert haben ODER wenn Sie den vorherigen Status bereinigt haben, bevor Sie versuchen, einen neuen zu installieren, indem Sie den Anweisungen hier folgen: https://docs.mesosphere.com/1.8/ Verwendung/Service-Guides/kafka/uninstall/ – mohitsoni

+0

@mohitsoni Danke, es funktionierte nach der Reinigung der vorherigen Zustand von Tierpfleger. – Kiba

+0

@mohitsoni Ich hatte es gerade von der GUI entfernt. – Kiba

Antwort

2

das Problem behoben, durch Anweisungen folgen hier: https://docs.mesosphere.com/1.8/usage/service-guides/kafka/uninstall

Um frische Installation Kafka Paket müssen wir zuerst klären ihre vorheriger Status vom Zoowärter. Die Deinstallation von der GUI oder CLI funktioniert nicht, nach der Deinstallation löschen Sie den vorherigen Status von zookee und dann die Neuinstallation.