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 > Database >
Share
Shulou(Shulou.com)06/01 Report--
The jar package for hbase should be the same as the jar package for the hadoop cluster, so there may be a jar package replacement process for hadoop.
Detailed configuration file
Hbase-site.xml
Hbase.rootdir hdfs://ns1/hbase hbase.cluster.distributed true hbase.tmp.dir / opt/modules/hbase-0.98.10.1-hadoop2/data/tmp hbase.zookeeper.quorum hadoop-yarn1:2181,hadoop-yarn2:2181,hadoop-yarn3:2181
Regionservers
Hadoop-yarn1hadoop-yarn2hadoop-yarn3
Hbase-env.sh
Export JAVA_HOME=/opt/modules/jdk1.6.0_24export HBASE_CLASSPATH=/opt/modules/hadoop-2.2.0/etc/hadoop / / set the configuration parameters directory of hadoop export HBASE_MANAGES_ZK=falseexport HBASE_LOG_DIR=$ {HBASE_HOME} / logs / / configure the hbase log directory
Start the hbase cluster
. / start-hbase.sh only starts masterhbase-daemon.sh start master
The failure of HMmaster to start is probably due to hbase znode conflicts on zookeeper, such as reformatting the inconsistent data saved on hdfs,hbase.
Hbase zkcli connection zookeeper
Hbase zkclils / hbasermr / hbasequit
Web access Port: 60010
Other reference articles:
Http://f.dataguru.cn/thread-205027-1-1.html
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.