Table of Contents
This chapter is the Not-So-Quick start guide to HBase configuration.
Please read this chapter carefully and ensure that all requirements have been satisfied. Failure to do so will cause you (and us) grief debugging strange errors and/or data loss.
HBase uses the same configuration system as Hadoop.
To configure a deploy, edit a file of environment variables
in conf/hbase-env.sh
-- this configuration
is used mostly by the launcher shell scripts getting the cluster
off the ground -- and then add configuration to an XML file to
do things like override HBase defaults, tell HBase what Filesystem to
use, and the location of the ZooKeeper ensemble
[1]
.
When running in distributed mode, after you make
an edit to an HBase configuration, make sure you copy the
content of the conf
directory to
all nodes of the cluster. HBase will not do this for you.
Use rsync.
Just like Hadoop, HBase requires java 6 from Oracle. Usually you'll want to use the latest version available except the problematic u18 (u24 is the latest version as of this writing).
[1] Be careful editing XML. Make sure you close all elements. Run your file through xmllint or similar to ensure well-formedness of your document after an edit session.