查看ZK上Mesos节点信息

  1. 启动ZK客户端
bin/zkCli.sh
  1. 查看节点
[zk: localhost:2181(CONNECTED) 0] ls /mesos
[json.info_0000000003, json.info_0000000002, log_replicas, json.info_0000000005]

3.查看详细信息

[zk: localhost:2181(CONNECTED) 4] get /mesos/json.info_0000000003
{"address":{"hostname":"bj3-136-157-25-c2-128.yidian.com","ip":"10.136.157.25","port":5050},"capabilities":[{"type":"AGENT_UPDATE"}],"hostname":"bj3-136-157-25-c2-128.yidian.com","id":"a4d6e9c6-a4f8-4377-bf17-1dbca2ced51b","ip":429754378,"pid":"[email protected]:5050","port":5050,"version":"1.7.0"}
cZxid = 0x5e
ctime = Sun Dec 30 07:25:04 CST 2018
mZxid = 0x5e
mtime = Sun Dec 30 07:25:04 CST 2018
pZxid = 0x5e
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x167f4509386001c
dataLength = 302
numChildren = 0

你可能感兴趣的:(查看ZK上Mesos节点信息)