1. get the package
$
tar xzvf hbase-<?eval ${project.version}?>-bin.tar.gz $
cd hbase-<?eval ${project.version}?>/ |
2. set up JAVA_HOME in conf/hbase-env.sh
export
JAVA_HOME= "`dirname
$(readlink /etc/alternatives/java)`/../" |
3. Example hbase-site.xml for Standalone HBase
<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> |
4. Use bin/start-hbase.sh script to start Hbase
/home/username/hbase/bin/start-hbase.sh |
5. check Hbase web interface
http: //localhost:16010/master-status |
Labels: