In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Download hbase-0.98.2-hadoop2-bin.tar.gz
2. Decompress
3. Move the hbase to the appropriate position
/ home/hadoop/hbase
4. Configure hbase
/ home/hadoop/hbase/conf/hbase-site.xml
Hbase.rootdir
Hdfs://hd1:9000/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.quorum
Hd1,hd2,hd3,hd4
Hbase.zookeeper.property.dataDir
/ home/hadoop/zk
Hbase.zookeeper.property.clientPort
2181
/ home/hadoop/hbaes/conf/hbase-env.sh
Export JAVA_HOME=/java
Export HBASE_MANAGES_ZK=true (for brain-saving purposes, you can enable zookeeper that comes with hbase, so you don't have to install zookeeper separately)
/ home/hadoop/hbase/conf/regionservers
Hd2
Hd3
Hd4
5. Distribute hbase to other nodes
Scp-r / home/hadoop/hbase hd2:/home/hadoop
Scp-r / home/hadoop/hbase hd3:/home/hadoop
Scp-r / home/hadoop/hbase hd4:/home/hadoop
6. Start hbase
Start-hbase.sh
7. Enter hbase shell to test the shell command
Hbase shell
List
Note:
Configure hbase.zookeeper.quorum. If you use your own zookeeper, there can only be an odd number of nodes in this value. Otherwise, the last node will not start up and will become a standby MASTER.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.