MultiMaster HBase: --backup really needed ?

2013-12-09 Thread Manuel de Ferran
Greetings, I'm playing without MultiMaster, and I was wondering if --backup is really needed. As far as I have observed, masters race to be the active one. Is there any drawback in not mentioning --backup on additional nodes ? Regards, -- Manuel DE FERRAN

Re: MultiMaster HBase: --backup really needed ?

2013-12-09 Thread Bryan Beaudreault
I've run HBase from version 0.90.2 to our current 0.94.6 (CDH 4.3) and have never specified a --backup option on any of my commands with regard to the master. You're correct that they race to be active, and failover is completely automatic in the case of one master going down. TBH I've never

Re: MultiMaster HBase: --backup really needed ?

2013-12-09 Thread Jean-Daniel Cryans
The problem with having a bunch of master racing is that it's not evident for the operator who won, so specifying --backup to all but one master ensures that you always easily know where the master is. Relevant code from HMaster.java: // If we're a backup master, stall until a primary to