You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Benson Qiu <be...@salesforce.com> on 2016/11/16 19:32:00 UTC
Does the JobHistoryServer register itself with ZooKeeper?
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?
Re: Does the JobHistoryServer register itself with ZooKeeper?
Posted by daemeon reiydelle <da...@gmail.com>.
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 <be...@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 <ra...@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 <be...@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?
>>>
>>
>>
>
Re: Does the JobHistoryServer register itself with ZooKeeper?
Posted by Benson Qiu <be...@salesforce.com>.
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 <ra...@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 <be...@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?
>>
>
>
Re: Does the JobHistoryServer register itself with ZooKeeper?
Posted by Ravi Prakash <ra...@gmail.com>.
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 <be...@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?
>