Hbase Installation

                        Hbase installation on linux machine step by step

Let's go for installtion of Hbase Nosql database on linux machine where hadoop cluster is already installed.

step 1. Download hbase tar file hbase-0.94.2.tar.gz untar hbase-0.94.2.tar.gz. file
tar -zxvf hbase-0.94.2.tar.gz.

step 2. go inside hbase-0.94.2/conf/ and vi hbase-env.sh

# The java implementation to use.  Java 1.6 required.
 export JAVA_HOME=/home/dinesh1/jdk1.7.0_45

step 3. go inside hbase-0.94.2/conf/ and vi hbase-site.xml

<configuration>
<property>
<!-- This is the location in HDFS that HBase will use to store its files -->
<name>hbase.rootdir</name>
<value>hdfs://192.168.5.134:54310/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>192.168.5.134</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/dinesh/zookeeper</value>
</property>
</configuration>

step 4. start hbase
bin/start-hbase.sh

step 5. rum hbase
bin/hbase shell

hbase(main):002:0>

Comments

Popular posts from this blog

Setup Nginx as a Reverse Proxy for Thingsboard running on different port/server

How to auto re-launch a YARN Application Master on a failure.

Read JSON File in Cassandra