-
Download hbase package tar.gz file from https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_package_tarball_59.html
-
Untar tar.gz file
-
edit conf/hbase-env.sh
export JAVA_HOME={{JAVA_HOME Directory path}}
-
edit conf/hbase-site.xml
1 2 3 4 5 6 7 8 9 10 11 12 |
<property> <name>hbase.rootdir</name> <value>file:///{{location}}/data</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>{{location}}/zookeeper</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>{{hostname}}</value> </property> |
-
start hbase service
bin/start-hbase.sh
-
run hbase shell
bin/hbase shell
-
stop hbase shell service
bin/stop-hbase.sh