大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章主要讲解了“怎么在Linux下编译Hbase 0.98.7”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“怎么在Linux下编译Hbase 0.98.7”吧!
创新互联建站-专业网站定制、快速模板网站建设、高性价比彭阳网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式彭阳网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖彭阳地区。费用合理售后完善,10余年实体公司更值得信赖。
首先下载Hbase源码包,然后解压
修改hbase-0.98.7/dev-support/generate-hadoopX-poms.sh里面的hbase_home="解压后的路径目录"
执行以下命令,
mvn -f pom.xml.hadoop2 install -DskipTests assembly:single -Prelease
编译成功后显示
[INFO] Building tar: /data/hbase-0.98.7/hbase-assembly/target/hbase-0.98.7-hadoop2-bin.tar.gz [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] HBase .............................................. SUCCESS [13:38 min] [INFO] HBase - Annotations ................................ SUCCESS [ 40.665 s] [INFO] HBase - Common ..................................... SUCCESS [18:58 min] [INFO] HBase - Protocol ................................... SUCCESS [ 32.356 s] [INFO] HBase - Client ..................................... SUCCESS [ 56.317 s] [INFO] HBase - Hadoop Compatibility ....................... SUCCESS [ 0.838 s] [INFO] HBase - Hadoop Two Compatibility ................... SUCCESS [ 29.615 s] [INFO] HBase - Prefix Tree ................................ SUCCESS [ 2.509 s] [INFO] HBase - Server ..................................... SUCCESS [03:28 min] [INFO] HBase - Testing Util ............................... SUCCESS [ 26.360 s] [INFO] HBase - Thrift ..................................... SUCCESS [ 29.042 s] [INFO] HBase - Shell ...................................... SUCCESS [01:28 min] [INFO] HBase - Integration Tests .......................... SUCCESS [ 11.200 s] [INFO] HBase - Examples ................................... SUCCESS [ 2.236 s] [INFO] HBase - Assembly ................................... SUCCESS [ 28.300 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41:59 min [INFO] Finished at: 2014-11-05T10:25:52+08:00 [INFO] Final Memory: 76M/243M [INFO] ------------------------------------------------------------------------
感谢各位的阅读,以上就是“怎么在Linux下编译Hbase 0.98.7”的内容了,经过本文的学习后,相信大家对怎么在Linux下编译Hbase 0.98.7这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是创新互联,小编将为大家推送更多相关知识点的文章,欢迎关注!