欢迎投稿

今日深度:

hbase,

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
www.htsjk.Com true http://www.htsjk.com/hbase/37744.html NewsArticle hbase, 一、完全分布式部署 linux01 cd /hbase/conf vim hbase-env.sh export JAVA_HOME=/usr/java/jdk1.8.0_121 vim hbase-site.xml configuration property namehbase.rootdir/name valuehdfs://linux01:9000/hbase/value /property property na...
相关文章
    暂无相关文章
评论暂时关闭