Sources : hbase.apache.org, http://archive.apache.org/dist/hbase/
Related pages : co-processors in hbase hbase shell commands mapreduce fixesuse hbase in python
Standalone HBase :
1. Update following in hbase-site.xml
<configuration> <property> <name>hbase.rootdir</name> <value>file:///home/testuser/hbase</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/home/testuser/zookeeper</value> </property></configuration><!--Additional properties are hbase.zookeeper.property.clientPort 2184(if running on separate port), hbase.zookeeper.quorum pig, hbase.cluster.distributed true(for hdfs or external zookeeper)/false(is by default)-->2. Update hbase-env.sh
export JAVA_HOME=<JAVA_HOME>export HBASE_MANAGES_ZK=false #If we want hbase to use running instance of zookeeper.Intermediate - Pseudo-Distributed Local Install
Advanced - Fully Distributed
Start hbase.
start-hbase.sh#recommended for distributed mode.hbase-daemon.sh start masterhbase-daemon.sh start regionserverStop hbase.
stop-hbase.sh#recommended for distributed mode.hbase-daemon.sh stop masterhbase-daemon.sh stop regionserverStart hbase-thrift server (Required for access via thrift api)
hbase thrift start -threadpool #Starts hbase-thrift service on 9090 default port.