Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

SOLVED Go to solution

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

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

Accepted Solutions

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

Master Collaborator

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.

2 REPLIES 2

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

Master Collaborator

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.

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

Master Guru
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.