Re: 'zkServer.sh status' connects only to local node ?

2019-12-13 Thread Chris T.
Hi Prashant, correct it only checks the local node. We built a script that parses the dynamic config file and goes over all the nodes to report their status. You can do this easily from shell by enabling adminserver functionality and issuing curl http://yourzookeepernode.com:8081/commands/stats

'zkServer.sh status' connects only to local node ?

2019-12-12 Thread prashantkumar dhotre
Hi, Could you please help me with a basic query regarding 'zkServer.sh status' ? >From zkServer.sh, it appears that this cmd tries to connect to server at local node and get info. If the local server is down, does it connect to next available server (as specified in config file ) and returns