In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The previous article introduced the compilation process of hadoop2.4.1, as well as the compilation of hive and spark, this time briefly introduced the compilation process of hbase.
Hbase0.98.8 is compiled using hadoop2.2.0 by default, and the author's hadoop environment is version 2.4.1. In order to avoid various errors caused by package inconsistencies, hbase needs to be recompiled.
1. Generate pom files for compilation
Modify $HBASE_HOME/pom.xml,2.2.0 to 2.4.1
Generate a new pom file: $HBASE_HOME/dev-support/generate-hadoopX-poms.sh 0.98.8 0.98.8-hadoop2
2. Compile hbase
Mvn-f pom.xml.hadoop2 install-DskipTests site assembly:single-Prelease
The generated package is saved in $HBASE_HOME/hbase-assembly/target/hbase-0.98.8-hadoop2-bin.tar.gz
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.