1
當我使用了Cloudera與搬運工這樣的:通過DOCKER_IP使用與Cloudera的碼頭工人,組成
docker run -it cloudera/quickstart:latest /usr/bin/docker-quickstart
一切工作正常,我可以不使用它,並獲得了用戶界面:50070
但,如果我想的Cloudera添加到一個碼頭工人,撰寫文件,這樣的:
version: '2'
services:
cloudera:
image: cloudera/quickstart:latest
command: /usr/bin/docker-quickstart
ports:
- "8020:8020"
- "8022:22" # ssh
- "7180:7180" # Cloudera Manager
- "8888:8888" # HUE
- "11000:11000" # Oozie
- "50070:50070" # HDFS REST Namenode
- "2181:2181"
- "11443:11443"
- "9090:9090"
- "8088:8088"
- "19888:19888"
- "9092:9092"
- "8983:8983"
- "16000:16000"
- "16001:16001"
- "42222:22"
- "8042:8042"
- "60010:60010"
- "8080:8080"
- "7077:7077"
空話工作和容器發射後直接停止。 這裏是堆棧跟蹤信息剛結束:
cloudera_1 | Starting Solr server daemon:[ OK ]
cloudera_1 | Existing PID file found during start.
cloudera_1 | Removing/clearing stale PID file.
cloudera_1 | Started Impala Catalog Server (catalogd) :[ OK ]
cloudera_1 | Started Impala Server (impalad):[ OK ]
hadoopmongokafka_cloudera_1 exited with code 0
我到底做錯了什麼?