Hadoop基础教程-第13章 源码编译(13.3 HBase1.2.6源码编译)

第13章 源码编译

13.3 HBase1.2.6源码编译

13.3.1 下载源码

https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/ 单击“stable”连接 下载源码hbase-1.2.6-src.tar.gz

13.3.2 解压缩

[root@cyq opt]# tar -zxvf hbase-1.2.6-src.tar.g
[root@cyq opt]# cd hbase-1.2.6/

13.3.3 编译

[root@cyq hbase-1.2.6]# mvn clean  package -DskipTests assembly:single
[INFO] Scanning for projects...
Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
Downloaded: http://maven.aliyun.com/nexus/content/groups/public/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom (5 KB at 20.5 KB/sec)
Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.jar
Downloaded: http://maven.aliyun.com/nexus/content/groups/public/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.jar (172 KB at 534.4 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache HBase
[INFO] Apache HBase - Checkstyle
[INFO] Apache HBase - Resource Bundle
[INFO] Apache HBase - Annotations
[INFO] Apache HBase - Protocol
[INFO] Apache HBase - Common
[INFO] Apache HBase - Procedure
[INFO] Apache HBase - Client
[INFO] Apache HBase - Hadoop Compatibility
[INFO] Apache HBase - Hadoop Two Compatibility
[INFO] Apache HBase - Prefix Tree
[INFO] Apache HBase - Server
[INFO] Apache HBase - Testing Util
[INFO] Apache HBase - Thrift
[INFO] Apache HBase - Rest
[INFO] Apache HBase - Shell
[INFO] Apache HBase - Integration Tests
[INFO] Apache HBase - Examples
[INFO] Apache HBase - External Block Cache
[INFO] Apache HBase - Assembly
[INFO] Apache HBase - Shaded
[INFO] Apache HBase - Shaded - Client
[INFO] Apache HBase - Shaded - Server

....
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ....................................... SUCCESS [01:49 min]
[INFO] Apache HBase - Checkstyle .......................... SUCCESS [ 41.605 s]
[INFO] Apache HBase - Resource Bundle ..................... SUCCESS [  0.106 s]
[INFO] Apache HBase - Annotations ......................... SUCCESS [  0.424 s]
[INFO] Apache HBase - Protocol ............................ SUCCESS [ 14.514 s]
[INFO] Apache HBase - Common .............................. SUCCESS [ 33.686 s]
[INFO] Apache HBase - Procedure ........................... SUCCESS [  0.686 s]
[INFO] Apache HBase - Client .............................. SUCCESS [  4.176 s]
[INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [  0.109 s]
[INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [  1.757 s]
[INFO] Apache HBase - Prefix Tree ......................... SUCCESS [  0.521 s]
[INFO] Apache HBase - Server .............................. SUCCESS [ 23.583 s]
[INFO] Apache HBase - Testing Util ........................ SUCCESS [  1.252 s]
[INFO] Apache HBase - Thrift .............................. SUCCESS [  3.329 s]
[INFO] Apache HBase - Rest ................................ SUCCESS [  1.270 s]
[INFO] Apache HBase - Shell ............................... SUCCESS [  3.083 s]
[INFO] Apache HBase - Integration Tests ................... SUCCESS [  1.327 s]
[INFO] Apache HBase - Examples ............................ SUCCESS [  0.662 s]
[INFO] Apache HBase - External Block Cache ................ SUCCESS [  1.238 s]
[INFO] Apache HBase - Assembly ............................ SUCCESS [ 14.405 s]
[INFO] Apache HBase - Shaded .............................. SUCCESS [  0.034 s]
[INFO] Apache HBase - Shaded - Client ..................... SUCCESS [  0.191 s]
[INFO] Apache HBase - Shaded - Server ..................... SUCCESS [  0.311 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:23 min
[INFO] Finished at: 2017-07-27T11:40:44+08:00
[INFO] Final Memory: 128M/461M
[INFO] ------------------------------------------------------------------------
您在 /var/spool/mail/root 中有新邮件
[root@cyq hbase-1.2.6]# 

13.3.4 查看结果

[root@cyq hbase-1.2.6]# cd hbase-assembly/
[root@cyq hbase-assembly]# ls
pom.xml  src  target
[root@cyq hbase-assembly]# cd target/
[root@cyq target]# ls
archive-tmp  dependency  dependency-maven-plugin-markers  hbase-1.2.6-bin.tar.gz  maven-shared-archive-resources  NOTICE.aggregate  supplemental-models.xml
[root@cyq target]# ll
总用量 73680
drwxr-xr-x   2 root root     4096 7月  27 11:40 archive-tmp
drwxr-xr-x 124 root root    12288 7月  27 11:40 dependency
drwxr-xr-x   2 root root    16384 7月  27 11:40 dependency-maven-plugin-markers
-rw-r--r--   1 root root 75289882 7月  27 11:40 hbase-1.2.6-bin.tar.gz
drwxr-xr-x   3 root root     4096 7月  27 11:40 maven-shared-archive-resources
-rw-r--r--   1 root root    42178 7月  27 11:40 NOTICE.aggregate
-rw-r--r--   1 root root    66255 7月  27 11:40 supplemental-models.xml
[root@cyq target]# 

hbase-1.2.6-bin.tar.gz

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏纯洁的微笑

Spring Boot 2.0(七):Spring Boot 如何解决项目启动时初始化资源

12030
来自专栏云计算小知识

Spring Boot 如何解决项目启动时初始化资源

在我们实际工作中,总会遇到这样需求,在项目启动的时候需要做一些初始化的操作,比如初始化线程池,提前加载好加密证书等。今天就给大家介绍一个 Spring Boot...

25320
来自专栏流柯技术学院

maven编译常见错误解决方法整理

当maven项目里面有用到JDK内部的一些类,接口(如:com.sun.xml.internal.ws.spi.ProviderImpl)等的时候,用maven...

37010
来自专栏杂烩

rancher导入rke 原

    REK是Rancher Kubernetes Engine,通过rke工具可以快速简单地搭建一套 Kubernetes集群。

45760
来自专栏WindCoder

springBoot初探-创建项目

一边学习公司用到的技术,一边重构小程序后端,从而更好的理解公司搭建的框架。此处记录一个用idea+gradle+springboot的基础实现。

7710
来自专栏从零开始的linux

harbor安装

安装docker harbor 安装docker yum源 tee /etc/yum.repos.d/docker.repo <<-'EOF' [dockerr...

37280
来自专栏全栈

node 模块安装的问题,谁能帮我看看怎么回事

13810
来自专栏大数据学习笔记

Hadoop基础教程-第13章 源码编译(13.1 Zookeeper源码编译)

第13章 源码编译 13.1 Zookeeper源码编译 13.1.1 安装Ant 注意,不要下载最新版,下载指定版本 http://archive.apa...

25550
来自专栏耕耘实录

当SSH免密登录的私钥被移动之后... ...

版权声明:本文为耕耘实录原创文章,各大自媒体平台同步更新。欢迎转载,转载请注明出处,谢谢。

13130
来自专栏Danny的专栏

【EJB学习笔记】——建立一个简单的EJB应用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huyuyang6688/article/...

10920

扫码关注云+社区

领取腾讯云代金券