我正在尝试使用此处docker-compose
定义的文件在以 docker swarm 模式工作的机器上部署我的 apache spark 集群。
我docker stack deploy -c compose-file.yml spark_cluster
在我的 docker swarm manager 机器上调用以按定义部署我的服务,但是当我点击时我得到以下场景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
似乎 swarm 刚刚接受了在我的 swarm manager 节点上运行的服务,并在我的 worker swarm 节点上被拒绝了。
我怎么能设法找到与这种情况相关的日志?如果是这种情况,我在哪里可以查看与此部署相关的日志?我想知道错误列中消息的确切含义。