mesos c++测试框架有时失败

f0brbegy  于 2021-06-26  发布在  Mesos
关注(0)|答案(0)|浏览(169)

我建立了一个带有zookeeper、3个主节点和12个代理节点的mesos集群。在三个节点上运行主进程和代理进程。当运行c++测试框架时,它通常会失败,但有时这四个任务可以成功完成。
在一个代理节点中,我看到下面的stderr日志:

I0420 22:49:05.532886 17577 exec.cpp:162] Version: 1.2.0 I0420
22:49:05.556433 17582 exec.cpp:237] Executor registered on agent
3f442a52-2e2f-4799-8c1a-3a05b27120b9-S1 I0420 22:49:05.811959 17579
exec.cpp:415] Executor asked to shutdown

主节点中还有许多连接关闭日志:

E0420 22:48:51.964684 22212 process.cpp:2426] Failed to shutdown
socket with fd 30: Transport endpoint is not connected E0420
22:48:54.974160 22212 process.cpp:2426] Failed to shutdown socket with
fd 30: Transport endpoint is not connected E0420 22:48:56.192914 22212
process.cpp:2426] Failed to shutdown socket with fd 27: Transport
endpoint is not connected E0420 22:48:57.999858 22212
process.cpp:2426] Failed to shutdown socket with fd 30: Transport
endpoint is not connected E0420 22:49:00.994969 22212
process.cpp:2426] Failed to shutdown socket with fd 30: Transport
endpoint is not connected E0420 22:49:03.994499 22212
process.cpp:2426] Failed to shutdown socket with fd 30: Transport
endpoint is not connected E0420 22:49:05.999225 22212
process.cpp:2426] Failed to shutdown socket with fd 30: Transport
endpoint is not connected E0420 22:49:11.194205 22212
process.cpp:2426] Failed to shutdown socket with fd 27: Transport
endpoint is not connected E0420 22:49:26.196691 22212
process.cpp:2426] Failed to shutdown socket with fd 27: Transport
endpoint is not connected E0420 22:49:41.198381 22212
process.cpp:2426] Failed to shutdown socket with fd 27: Transport
endpoint is not connected

似乎主机试图关闭自己与一个代理之间的连接,但连接已关闭。我想是吧。
如何解决这个问题或找到这个问题的真正原因。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题