hbase

阅读更多
一、完全分布式部署

linux01
cd /hbase/conf

vim hbase-env.sh
export JAVA_HOME=/usr/java/jdk1.8.0_121


vim hbase-site.xml


        hbase.rootdir
        hdfs://linux01:9000/hbase


        hbase.cluster.distributed
        true


        hbase.zookeeper.quorum
        linux01:2181,linux02:2181,linux03:2181






vim regionservers
linux01
linux02
linux03


vim hbase-env.sh
export HBASE_MANAGES_ZK = false

vim hbase-site.xml

        hbase.zookeeper.quorum
        linux01:2181,linux02:2181,linux03:2181


配置zookeeper

scp -r ./hbase root@linux02:/usr/local/software
scp -r ./hbase root@linux03:/usr/local/software

启动zookeeper ,  zkServer.sh start 依次启动各个机器,zkServer.sh status 查看状态
启动hdfs ,  start-all.sh
启动hbase ,  start-hbase.sh


vim /etc/profile
配置 export path

你可能感兴趣的:(hbase)