0

我試圖部署我的apache羣集使用docker-compose文件定義here跨Docker羣模式工作的機器。通過碼頭羣組模式部署火花羣集

我在我的碼頭工人羣經理機調用docker stack deploy -c compose-file.yml spark_cluster定義部署我的服務,但我發現了以下情形時,我打docker stack ps spark_cluster

ID   NAME      IMAGE       NODE   DESIRED STATE CURRENT STATE    ERROR        PORTS 
iy255fvx5ub8 spark_cluster_master.1  sauloricci/docker-spark:latest manager-swarm Running  Running 20 seconds ago 
mrr6p9dmodh5 \_ spark_cluster_master.1 sauloricci/docker-spark:latest worker2-swarm Shutdown  Rejected 35 seconds ago  "invalid mount config for type�" 
u1daipeekanv \_ spark_cluster_master.1 sauloricci/docker-spark:latest worker2-swarm Shutdown  Rejected 40 seconds ago  "invalid mount config for type�" 
9yup3zxpk4ur \_ spark_cluster_master.1 sauloricci/docker-spark:latest worker2-swarm Shutdown  Rejected 45 seconds ago  "invalid mount config for type�" 
is4dib7wmb61 \_ spark_cluster_master.1 sauloricci/docker-spark:latest worker1-swarm Shutdown  Rejected 50 seconds ago  "invalid mount config for type�" 
y80py4s4hny8 spark_cluster_worker.1  sauloricci/docker-spark:latest manager-swarm Running  Running about a minute ago 

看來羣只是接受服務的運行在我的羣管理器節點上,並在我的工作人員羣節點上被拒絕。

我該如何設法找到與此場景相關的日誌?如果是這種情況,我可以在哪裏查看與此部署相關的日誌?我想知道錯誤列中的消息究竟意味着什麼。

回答