Are you talking about the Mapreduce JobHistoryServer? I am not aware of it needing Zookeeper for anything. What gave you that impression?

On Wed, Nov 16, 2016 at 11:32 AM, Benson Qiu <benson.qiu@salesforce.com> wrote:
I'm looking for a way to check for connectivity to the JobHistoryServer.

One way I can think of is to create a Socket connection (in Java code) to the JobHistoryServer IPC port specified in mapreduce.jobhistory.address.

If the JHS registers itself with ZooKeeper, is there a way for me to ping ZooKeeper to check the status of the JHS?