Getting started with hbase
This section provides an overview of what hbase is, and why a developer might want to use it.
It should also mention any large subjects within hbase, and link out to the related topics. Since the Documentation for hbase is new, you may need to create initial versions of those related topics.
Installing HBase in cluster
Installing HBase in Standalone
HBase Standalone is a mode which allow you to get rid of HDFS and to test HBase before deploying in a cluster, It is not production oriented.
Installing HBase in standalone is extremely simple. First you have to download the HBase archive named
hbase-X.X.X-bin.tar.gz available on one of the apache mirrors.
Once you have done this, execute this shell command
It will export the archive in your directory, you can put it wherever you want.
Now, go to the HBase directory you have exported and edit the file conf/hbase-env.sh
In this file, uncomment the line and change the path of JAVA_HOME
Almost there ! now edit the file
conf/hbase-sitexml and put the folowing lines
You can put those directories wherever you want to, just be sure to remember it if you want to check logs etc.
Your HBase is now ready to run ! Just execute the command
and if you want to stop HBase
Now your HBase is launched on your localhost and you can access it (using the Java API or the HBase shell). To run HBase shell, use
Have fun using HBase !