2017-07-28 5 views
1

Ich installierte DC/OS VERSION 1.9.2 auf OpenStack. Ich versuche Apache Funke auf DC/OS zu installieren.Kann Apache Funke auf DCOS nicht installieren

dcos package install spark 
Installing Marathon app for package [spark] version [1.1.0-2.1.1] 
Installing CLI subcommand for package [spark] version [1.1.0-2.1.1] 
New command available: dcos spark 
DC/OS Spark is being installed! 

Aber DC/O Armaturenbrett zeigt, dass Spark Bereitstellung und Aufgabe runing nicht. Fehler zeigen diese Nachrichten an.

I0728 16:43:36.348244 14038 exec.cpp:162] Version: 1.2.2 
I0728 16:43:36.656839 14046 exec.cpp:237] Executor registered on agent abf187f4-ad7d-4ead-9437-5cdba4f77bdc-S1 
+ export DISPATCHER_PORT=24238 
+ DISPATCHER_PORT=24238 
+ export DISPATCHER_UI_PORT=24239 
+ DISPATCHER_UI_PORT=24239 
+ export SPARK_PROXY_PORT=24240 
+ SPARK_PROXY_PORT=24240 
+ SCHEME=http 
+ OTHER_SCHEME=https 
+ [[ '' == true ]] 
+ export DISPATCHER_UI_WEB_PROXY_BASE=/service/spark 
+ DISPATCHER_UI_WEB_PROXY_BASE=/service/spark 
+ grep -v '#https#' /etc/nginx/conf.d/spark.conf.template 
+ sed s,#http#,, 
+ sed -i 's,<PORT>,24240,' /etc/nginx/conf.d/spark.conf 
+ sed -i 's,<DISPATCHER_URL>,http://172.16.129.180:24238,' /etc/nginx/conf.d/spark.conf 
+ sed -i 's,<DISPATCHER_UI_URL>,http://172.16.129.180:24239,' /etc/nginx/conf.d/spark.conf 
+ sed -i 's,<PROTOCOL>,,' /etc/nginx/conf.d/spark.conf 
+ [[ '' == true ]] 
+ [[ -f hdfs-site.xml ]] 
+ [[ -n '' ]] 
+ exec runsvdir -P /etc/service 
+ + mkdirmkdir -p -p /mnt/mesos/sandbox/nginx /mnt/mesos/sandbox/spark 

+ exec 
+ exec svlogd /mnt/mesos/sandbox/nginx 
+ exec svlogd /mnt/mesos/sandbox/spark 
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32 
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32 
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32 
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32 
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32 

Wie zum Ausführen von Spark auf DCOS. Danke.

+0

Ich logged zu funken docker. Ich habe versucht, type_hash_buck_size auf 64 zu ändern. Deploy beendet. Aber dieser Prozess ist nicht cool. –

+0

Ich habe das DCOS-Protokoll überprüft. Ich denke, dass die Bereitstellung erfolgt, aber NGINX in Docker wird nicht ausgeführt. DCOS hat die Funkengesundheit überprüft, aber NGINX reagiert nicht. DCOS erkennt, dass Funken unheilig sind und tötet Funken. Spark versucht erneut zu implementieren. Jetzt ist dieser Prozess endlos. –

Antwort

0

Überprüfen Sie, ob Sie eine frühere Funkeninstallation ordnungsgemäß deinstalliert haben. Sie müssen den alten Zookeeper Funke Eintrag (unter/Aussteller) entfernen.

Überprüfen Sie auch, ob es in Mesos keine Zombie-Frameworks gibt, die die Ressourcen für Ihre neue Bereitstellung blockieren. Töte sie mit:

http://MESOSMASTER_URL:5050/master/teardown -d 'frameworkId='<FRAMEWORKID>'' 
+0

Ich habe versucht, Funke zu deinstallieren, und entfernen Sie den alten Zookeeper Funken Eintrag. Ich überprüfte Zombie-Frameworks, ich konnte es nicht finden. –