Provides HBase, the Hadoop simple database.

Requirements

Getting Started

First, you need a working instance of Hadoop. Download a recent release from Hadoop downloads. Unpack the release and connect to its top-level directory. Let this be ${HADOOP_HOME}. Edit the file ${HADOOP_HOME}/conf/hadoop-env.sh to define at least JAVA_HOME. Also, add site-particular customizations to the file ${HADOOP_HOME}/conf/hadoop-site.xml. Try the following command:

bin/hadoop

Next, change to the hbase root. Let this be ${HBASE_HOME} It is usually located at ${HADOOP_HOME}/src/contrib/hbase. Configure hbase. Edit ${HBASE_HOME}/conf/hbase-env.sh and ${HBASE_HOME}/conf/hbase-site.xml to make site particular settings. List the hosts running regionservers in ${HBASE_HOME}/conf/regionservers.

Here is how to start and then stop hbase:

${HBASE_HOME}/bin/start-hbase.sh
${HBASE_HOME}/bin/stop-hbase.sh
Logs can be found in ${HADOOP_LOG_DIR}.

To obtain a shell against a running hbase instance, run:

${HBASE_HOME}/bin/hbase shell
Once the shell is up, type help; to see list of supported commands.

Related Documentation