The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HBase Forum

second Hmaster

  • #43911
    Ratnakar Pawar

    Hi ,

    I have a cluster of four nodes , and need HA for hbase
    is it possible to configure 2nd Hmaster in cluster , i checked but didnt find it anywhere in console
    we have 2 Hmaster configuration in other cluster , with cdh .
    Is it possible at all for hdp ? and how


  • Author
  • #44109

    Hi Ratnakar,

    HBase supports HBase master HA. All you need to do is start the HBase master service somewhere which have the Hadoop and HBase configurations. The following message will be in its log:
    2013-11-20 08:06:46,881 INFO [master:dcdn002:60000] master.ActiveMasterManager: Another master is the active master,,60000,1383930890299; waiting to become the next active master

    Once the original HBase master dies, the following message will be in the secondary HBase master:
    2013-11-20 08:08:45,767 INFO [master:dcdn002:60000] master.HMaster: Master has completed initialization

    I am using this HBase version:

    hbase version
    13/11/20 08:09:22 INFO util.VersionInfo: HBase
    13/11/20 08:09:22 INFO util.VersionInfo: Subversion git://c64-s11/grid/0/workspace/BIGTOP-bigwheel-GA-HDP_RPM_REPO/label/c64-s11/bigtop-0.5/build/hbase/rpm/BUILD/hbase- -r e6d7a56f72914d01e55c0478d74e5cfd3778f231
    13/11/20 08:09:22 INFO util.VersionInfo: Compiled by jenkins on Thu Oct 17 18:15:20 PDT 2013

    Hope this helps.


    Ratnakar Pawar

    Yes , but then there wont be any control from ambari over it ? or we can configure it there also somehow.
    also , I am using kerberos enabled cluster , and getting Acl exception when i tried
    hbase master –backup start

    Ratnakar Pawar

    to be exact , this error

    ERROR Zookeeper initialization failed
    org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode = InvalidACL for /hbase-secure/tokenauth/keys
    at org.apache.zookeeper.KeeperException.create(
    at org.apache.zookeeper.KeeperException.create(

The forum ‘HBase’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.