In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to configure hbase under the ZooKeeper cluster, which is very detailed and has a certain reference value. Interested friends must read it!
Start up the zookeeper
We have three ZK,slave1.hadoop,slave2.hadoop,slave3.hadoop here.
For example, configuration file zoo.cfg
ClientPort=2181
Server.1=slave1.hadoop:2888:3888
Server.2=slave2.hadoop:2888:3888
Server.3=slave3.hadoop:2888:3888
Related configuration of Hbase
Modify hbase-env.sh
Export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
Export HBASE_IDENT_STRING=$HOSTNAME
Export HBASE_CLASSPATH=/home/hadoop/hbase-0.96/lib
Export HBASE_MANAGES_ZK=false
Modify hbase-site.xml
Hbase.master
Slave1.hadoop:60000
Hbase.rootdir
Hdfs://slave1.hadoop:8020/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.property.clientPort
2181
Hbase.zookeeper.quorum
Slave1.hadoop,slave2.hadoop,slave3.hadoop
Hbase.regionserver.handler.count
one hundred
Hbase.client.write.buffer
5242880
These are all the contents of the article "how to configure hbase under ZooKeeper Cluster". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.