我尝试遵循this directions在Ubuntu 18.x服务器上配置Apache Mesos集群。
我从来没有得到这个工作。我第一次将其设置为概念验证。 Web UI出现,但是没有资源。一切都为零。我有三个主人和两个奴隶。
我尝试重新启动服务器。我尝试分析日志。
我想了解更多有关Zookeeper的信息。在/ var / log / zookeeper /中,有一个日志文件显示在一些Zookeeper服务器上,我看到尝试连接到诸如47250、48246、49982、56650和57426等端口的尝试。(为了进一步了解Zookeeper ,这些端口是如何选择的?是随机的吗?)我在配置文件中找不到这些特定的端口。我没有在这些端口上侦听的五台服务器。
这是我在/var/log/zookeeper/zookeeper.log中看到的内容:
2019-01-01 03:39:47,549 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1033] - Closed socket connection for client /x.x.x.x:48246 which had sessionid 0x167f7d4e4940004
2019-01-01 03:39:52,000 - INFO [SessionTracker:ZooKeeperServer@358] - Expiring session 0x167f7d4e4940007, timeout of 10000ms exceeded
2019-01-01 03:39:52,000 - INFO [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x167f7d4e4940007
2019-01-01 03:39:54,000 - INFO [SessionTracker:ZooKeeperServer@358] - Expiring session 0x167f7d4e4940008, timeout of 10000ms exceeded
2019-01-01 03:39:54,001 - INFO [SessionTracker:ZooKeeperServer@358] - Expiring session 0x167f7d4e4940003, timeout of 10000ms exceeded
2019-01-01 03:39:54,001 - INFO [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x167f7d4e4940008
2019-01-01 03:39:54,001 - INFO [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x167f7d4e4940003
2019-01-01 03:39:56,000 - INFO [SessionTracker:ZooKeeperServer@358] - Expiring session 0x167f7d4e4940004, timeout of 10000ms exceeded
2019-01-01 03:39:56,001 - INFO [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x167f7d4e4940004
2019-01-01 03:39:58,001 - INFO [SessionTracker:ZooKeeperServer@358] - Expiring session 0x167f7d4e4940005, timeout of 10000ms exceeded
2019-01-01 03:39:58,001 - INFO [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x167f7d4e4940005
2019-01-01 03:44:28,520 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x167f7d4e4940006, likely client has closed socket
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230)
at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
at java.lang.Thread.run(Thread.java:748)
如何使资源显示在Apache Mesos服务器中?