In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)12/25 Report--
Continue with the installation of the previous hadoop.
First, install zookooper
1. Decompress zookooper
Tar-zxfv zookeeper-3.3.6.tar.gz
2. Modify the configuration:
Cp zookeeper/conf/zoo_sample.cfg zoo.cfg
The number of milliseconds of each tick
TickTime=2000
The number of ticks that the initialsynchronization phase can take
InitLimit=10
The number of ticks that can pass betweensending a request and getting an acknowledgement
SyncLimit=5
The directory where the snapshot is stored.
DataDir=/usr/zookeeper-3.3.6/data
The port at which the clients will connect
ClientPort=2181
# autopurge.purgeInterval=1
Server.1=192.168.1.101:2888:3888
Server.2=192.168.1.102:2888:3888
3. Write the file myid to 1 in the / usr/zookeeper-3.3.6/data directory (to correspond to the ip geology)
4. Scp-r / usr/zookeeper-3.3.6 ~ slave:/usr
5 start zoopker on master\ slave1 respectively
Second, install hbase
1. Decompress tar-zxvf hbase-1.3.1-bin.tar.gz
2. Modify hbase.env.sh to add JAVA_HOME, export HBASE_MANAGES_ZK=false
3. Modify and add regionservers
Master
Slave1
4. Modify hbase-site.xml
Hbase.rootdir
Hdfs://master:9000/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.quorum
Master,slave1
Hbase.master
Hdfs://master:60000
Hbase.zookeeper.property.dataDir
/ usr/zookeeper-3.3.6/data
Hbase.zookeeper.property.clientPort
2181
5 、 scp / usr/hbase slave1:/usr
6. Start
Hbase.rootdir
Hdfs://master:9000/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.quorum
Master,slave1
Hbase.master
Hdfs://master:60000
Hbase.zookeeper.property.dataDir
/ usr/zookeeper-3.3.6/data
Hbase.zookeeper.property.clientPort
2181
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.