JHS does NOT use ZK for any purpose. HA options of NM and RM do. That is the ONLY ZK use in Hadoop.
*.......* *Daemeon C.M. ReiydelleUSA (+1) 415.501.0198London (+44) (0) 20 8144 9872* On Wed, Nov 16, 2016 at 4:29 PM, Benson Qiu <benson....@salesforce.com> wrote: > Hi Ravi, > > Nothing gave me the impression that JHS uses ZooKeeper. I couldn't find > anything about it on Google, so I just wanted to check with the user group. > > Thanks a lot for your help! > > Regards, > Benson > > On Wed, Nov 16, 2016 at 4:26 PM, Ravi Prakash <ravihad...@gmail.com> > wrote: > >> 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....@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.addres >>> s. >>> >>> If the JHS registers itself with ZooKeeper, is there a way for me to >>> ping ZooKeeper to check the status of the JHS? >>> >> >> >