In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shares with you the content of the sample analysis of hbase-1.1.3 distributed deployment based on hadoop-2.6.2 ha. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Cluster description
Hadoop-2.5.2 is deployed in ha mode, and all namenode is hdfs://masters,zookeeper address: bi3:2181,bi4:2181,bi5:2181
IP hostname deployment 192.168.2.10 bi10 Hadooprel 2.6.2 HMasterJournal HRegionServer192.168.12bihadoopmuri 2.6.2 HRegionServer192.168.2.13 bibihadoopMube 2.6.2Hbaseripper 1.1.3 deployment
Extract habse-1.1.3 to / home/hadoop/work/hbase-1.1.3
To modify conf/hbase-env.sh, you need the location of the HBASE_CLASSPATH=hadoop configuration file, otherwise hbase cannot recognize the configuration of hdfs://masters/hbase as a namenode ha.
# The java implementation to use. Java 1.7 + required.export JAVA_HOME=/home/hadoop/work/jdk1.7.0_75# Extra Java CLASSPATH elements. Optional.export HBASE_CLASSPATH=/home/hadoop/work/hadoop-2.6.2/etc/hadoop# Tell HBase whether it should manage it's own instance of Zookeeper or not.export HBASE_MANAGES_ZK=false
Modify conf/hbase-site.xml
Hbase.rootdir hdfs://masters/hbase hbase.cluster.distributed true hbase.master 60000 hbase.zookeeper.quorum bi3:2181,bi4:2181,bi5:2181 hbase.client.write.buffer 20971520 hbase.zookeeper.property.dataDir / home/hadoop/work/hbase-1.1.3/zookeeper/ hbase.tmp.dir / home/hadoop/work/hbase-1.1.3/tmp/
Modify conf/regionservers
Bi10bi12
Modify ~ / .bash_profile to add environment variables
# init hbase_environmentexport HBASE_HOME=/home/hadoop/work/hbase-1.1.3export PATH=$PATH:$HBASE_HOME/bin starts habse
Start habse on bi10
[hadoop@bi10 hbase-1.1.3] $start-hbase.sh starting master, logging to / home/hadoop/work/hbase-1.1.3/logs/hbase-hadoop-master-bi10.outbi12: starting regionserver, logging to / home/hadoop/work/hbase-1.1.3/bin/../logs/hbase-hadoop-regionserver-bi12.outbi10: starting regionserver, logging to / home/hadoop/work/hbase-1.1.3/bin/../logs/hbase-hadoop-regionserver-bi10.out
Start another HMaster on bi12
[hadoop@bi12 hbase-1.1.3] $hbase-daemon.sh start masterstarting master, logging to / home/hadoop/work/hbase-1.1.3/logs/hbase-hadoop-master-bi12.out
Take a look at the progress. Both hosts should have HRegionServer,HMaster.
Thank you for reading! This is the end of this article on "sample Analysis of hbase-1.1.3 distributed deployment based on hadoop-2.6.2 ha". 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.
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.