Support Questions

Find answers, ask questions, and share your expertise

Is there a graceful way to failover hbase master in CM?

avatar
Explorer

For our non-cm clusters, we have a nice cluster shutdown script we feed into hbase shell that does a graceful failover of hbase. In CM, our current process is to stop the hbase master service on the active master. Is there a graceful way of failing over hbase master without disabling the hbase master service on either master node?

1 ACCEPTED SOLUTION

avatar
Guru

You shouldn't have to disable the Master service at all.  If you have two HBase masters running (one Active, one Backup), simply stopping the service on the Active Master will trigger the Backup master to take over.  The graceful transition details are handled internally and very effectively by HBase itself.

View solution in original post

2 REPLIES 2

avatar
Guru

You shouldn't have to disable the Master service at all.  If you have two HBase masters running (one Active, one Backup), simply stopping the service on the Active Master will trigger the Backup master to take over.  The graceful transition details are handled internally and very effectively by HBase itself.

avatar
Mentor
You are correct though that this does not exist as a current feature.
Please consider filing a HBASE project JIRA upstream requesting
(implementation patches welcome too!) this at
https://issues.apache.org/jira/browse/HBASE.