Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build the cluster of Hbase

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to build Hbase clusters. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The cluster building process of Hbase:

Note: (1) hadoop must be started and can be written to a file.

(2) zookeeper must be started successfully at each node.

Start Zookeeper on hadoop0, hadoop1, and hadoop2, respectively, with the command zkServer.sh start

Make changes to the existing pseudo-distribution configuration of hadoop0

Export JAVA_HOME=/usr/local/jdk

5. Modify conf/hbase-site.xml, change the value of hbase.zookeeper.quorum to hadoop0,hadoop1,hadoop2

6. Modify conf/regionservers and change the content to hadoop1,hadoop2 (each line)

7. Copy the hbase folder to the corresponding directory of hadoop1 and hadoop2, and execute the command

Scp-r / usr/local/hbase hadoop1:/usr/local

Scp-r / usr/local/hbase hadoop2:/usr/local

8. Copy the / etc/profile on hadoop0 to another node, and then execute source / etc/profile on the other node

9. First turn off the pseudo distribution and execute the command stop-hbase.sh.

10. Execute the command start-hbase.sh on hadoop0 to start the cluster

11. Enter hbase, command: hbase shell.

Thank you for reading! This is the end of the article on "how to build Hbase clusters". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report