我在分布式模式下运行Spring XD。但是当我调出容器时,管理节点会看到它并且只部署一些而不是所有流。这是管理员日志
:11:41+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ContainerListener - Container arrived: Container{name='26c5cbfa-7f20-455c-a36c-580c98a8126--More--(76%)
...skipping 1 line
2016-10-03T19:11:41+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ContainerListener - Scheduling deployments to new container(s) in 15000 ms
2016-10-03T19:11:57+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-http-receiver': DeploymentStatus{state=incomplete}
2016-10-03T19:11:57+0000 1.3.0.RELEASE WARN DeploymentSupervisor-0 zk.ModuleRedeployer - No containers available for redeployment of http for stream cameras-http-receiver
2016-10-03T19:11:57+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-http-receiver': DeploymentStatus{state=incomplete}
2016-10-03T19:11:59+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-http-receiver-2': DeploymentStatus{state=deployed}
2016-10-03T19:12:00+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-http-receiver-3': DeploymentStatus{state=deployed}
2016-10-03T19:12:01+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-processor': DeploymentStatus{state=deployed}
2016-10-03T19:12:02+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-to-mongo': DeploymentStatus{state=incomplete}
...skipping 1 line
2016-10-03T19:12:02+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'cameras-to-mongo': DeploymentStatus{state=incomplete}
2016-10-03T19:12:03+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'mongo-sink': DeploymentStatus{state=incomplete}
2016-10-03T19:12:03+0000 1.3.0.RELEASE WARN DeploymentSupervisor-0 zk.ModuleRedeployer - No containers available for redeployment of mongodb for stream mongo-sink
2016-10-03T19:12:03+0000 1.3.0.RELEASE INFO DeploymentSupervisor-0 zk.ModuleRedeployer - Deployment state for stream 'mongo-sink': DeploymentStatus{state=incomplete}
为什么说它识别容器后没有容器可用?
答案 0 :(得分:0)
您对模块有任何容器匹配标准吗?当ModuleRedeployer正在寻找部署该模块的其他容器时,看起来其中一个模块实例无法部署。