hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: Backup HMasters will go down if the zk connection expires without recovery
Date Thu, 20 Mar 2014 08:04:00 GMT
I think if we need the recovering behaviour for the back up master also, we
could do that by introducing a similar config and retrying with the zk.
 Any specific reason why it was not retried? May be some one aware of this
part of the design can suggest on that.

Regards
Ram


On Thu, Mar 20, 2014 at 1:13 PM, Du, Jingcheng <jingcheng.du@intel.com>wrote:

> Dear Devs,
>
>   Now I encounter a problem in the HMaster.
>   Currently I run multiple HMasters in a cluster. If the ZK connection of
> one of the backup HMasters expires, this backup HMaster will go down
> directly without recovering the ZK connection.
> I saw there were such code in the HMaster.abortNow() listed below, the
> fail.fast only works for active HMaster. Do the backup ones need to be
> recovered if the zk connection expires? Please advise. Thanks.
>
> if (!this.isActiveMaster || this.stopped) {
>       return true;
>     }
> boolean failFast = conf.getBoolean("fail.fast.expired.active.master",
> false);
>
>
> Regards,
> Jingcheng
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message