Hadoop+Hbase+Spark集群配置-Hbase HA安装



解压部署
tar -zxvf hbase-1.0.0-bin.tar.gz
mv /usr/hadoop/hbase-1.0.0 /usr/hadoop/hbase

修改配置文件
配置regionserver节点
vi /usr/hadoop/hbase/conf/regionservers
slave141
slave142
slave143
slave144
slave145

vi /usr/hadoop/hbase/conf/hbase-site.xml
####################################################



 
 
    hbase.rootdir
    hdfs://gagcluster:8020/hbase
 

 
    hbase.cluster.distributed
    true
 

 
    hbase.tmp.dir
    /usr/hadoop/storage/hbase  
 

 
    hbase.zookeeper.quorum
    SA01,SA02,SA03
 

 
    hbase.zookeeper.property.clientPort
    2181
 

 
 
    hbase.zookeeper.property.dataDir
    /usr/hadoop/storage/zookeeper/data
 


#########################################################

禁用hbase自带的zookeeper
vi /usr/hadoop/hbase/conf/hbase-env.sh
export HBASE_MANAGES_ZK=false
export JAVA_HOME=/usr/hadoop/jdk

同步hbase工程到hadoop002~005机器上
for ip in `seq 140 145`;do scp -r /usr/hadoop/hbase slave$ip:/usr/hadoop;done

你可能感兴趣的:(hbase,HA,zookeeper,大数据集群安装)