HBase主要有两类节点,HMaster、HRegionServer,此外还需要ZooKeeper进行协调。HBase基于Hadoop的HDFS,并且无缝衔接Hadoop的MapReduce计算框架。
参照我的Hadoop集群搭建,先搭建Hadoop集群。
export JAVA_HOME=/opt/jdk1.6.0_27/
export HBASE_MANAGES_ZK=true
<property> <name>hbase.rootdir</name> <value>hdfs://master:9000/hbase</value> </property> <property> <name>hbase.master</name> <value>master</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>hadoop1</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.tmp.dir</name> <value>/home/hadoop/hadoop/datas/hbase/tmp</value> </property>
hadoop1 hadoop2 hadoop3
http://blog.csdn.net/hguisu/article/details/7244413
http://www.cnblogs.com/ggjucheng/archive/2012/05/04/2483474.html
http://linuxjcq.blog.51cto.com/3042600/760634