Requirements
- Java 1.5.x, preferably from Sun.
- Hadoop 0.16.x. This version of HBase will only run on Hadoop 0.16.x..
- ssh must be installed and sshd must be running to use Hadoop’s scripts
to manage remote Hadoop daemons.
- HBase currently is a file handle hog. The usual default of 1024 on *nix systems
is insufficient if you are loading any significant amount of data into regionservers.
See the FAQ: Why do I see “java.io.IOException…(Too many open files)” in my logs? for how to up the limit.
[C] Installation of HBase
- Java 1.5.x
- installed java 1.6.x
- Not sure whether 1.6.x will work
- Unzipped the Hadoop archive file (ver 1.3) at ~/hbase
- ssh & sshd configuration (execution)
- sudo apt-get install openssh-server
- sudo /etc/init.d/ssh start (stop)
- edit the limit number of file handlers
- checked /etc/security/limits.conf but there is no option to edit for this
[C] HBase Configuration
- ${HBASE_HOME} : the real location of hbase (/home/luran/hbase)
- modify JAVA_HOME information on ${HBASE_HOME}/conf/hbase-env.sh
- start HBase by ${HBASE_HOME}/bin/start_hbase.sh
- stop HBase by ${HBASE_HOME}/bin/stop-hbase.sh
Leave a Comment