Setting up multi-node HBase cluster
In this recipe, we will configure an HBase fully distributed cluster with ZooKeeper quorum formed by three nodes. This is the recommended configuration for the production environment.
Getting ready
The user is expected to complete the previous recipe and must have completed the recipes for setting up Hive with ZooKeeper. In this recipe, we will be using the already configured ZooKeeper ensemble.
How to do it...
Connect to the
master1.cyrus.com
master node in the cluster and change to the userhadoop
.Stop any daemons running from the previous HBase recipe.
Make sure the HBase package is downloaded, extracted, and the environment variables are set up as discussed in the previous recipe.
To confirm the setup, execute the commands as shown in the following screenshot:
Edit the
hbase-site.xml
file, as shown here:<property> <name>hbase.master</name> <value>master1.cyrus.com:60000</value> </property> <property> ...