Home Forums Kamanja Forums Problems & Solutions Execute Hbase without the in built zookeeper cluster

This topic contains 4 replies, has 2 voices, and was last updated by  Archived_User7 1 year, 8 months ago.

  • Author
    Posts
  • #13527 Reply

    Archived_User7
    Participant

    Hi,

    I am trying to run the HBase without zookeeper as I already have a zookeeper running alongwith kafka. In the Base-Env.sh, I have changed the property HBASE_MANAGES_ZK to false and also updated the hbase.xml with zookeeper port and host.

    When I try to start HBase in this way, it fails to start. The process just stops without any error.

    Has anyone faced similar issue or have a HBase running in similar fashion.

    Regards,

  • #13528 Reply

    Archived_User19
    Participant

    Hi Dhaval ,

    Can you please post your hbase-site.xml file

    Thanks,

  • #13529 Reply

    Archived_User7
    Participant

    I had used the default ones which come after installing HBase (I had used brew to install HBase) and just changed the properties.

  • #13530 Reply

    Archived_User19
    Participant

    In your hbase-site.xml try to set hbase.cluster.distributed value to true

    <configuration>
    
    <property>
        <name>hbase.rootdir</name>
        <value>file:///data/hbase-rootdir</value>
      </property>
      <property>
        <name>hbase.zookeeper.property.dataDir</name>
        <value>/tmp/zookeeperHbase</value>
      </property> 
       <property>
       <name>hbase.zookeeper.quorum</name>
       <value>localhost</value> </property> 
       <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
      </property> 
    </configuration>
  • #13531 Reply

    Archived_User7
    Participant

    Oh yes! I got it to working already. Thank you. Will close the issue.

Reply To: Execute Hbase without the in built zookeeper cluster
Your information: