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 条评论
登录 后参与评论

相关文章

来自专栏王小雷

HBase伪分布式安装(HDFS)+ZooKeeper安装+HBase数据操作+HBase架构体系

HBase1.2.2伪分布式安装(HDFS)+ZooKeeper-3.4.8安装配置+HBase表和数据操作+HBase的架构体系+单例安装,记录了在Ubunt...

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

Hadoop基础教程-第13章 源码编译(13.4 Hive2.1.1源码编译)

第13章 源码编译 13.4 Hive2.1.1源码编译 13.4.1 下载源码 https://mirrors.tuna.tsinghua.edu.cn/ap...

2019
来自专栏k8s

k8s使用nfs存储

源项目地址https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-cl...

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

Hadoop基础教程-第10章 HBase:Hadoop数据库(10.3 HBase安装与配置)(草稿)

第10章 HBase:Hadoop数据库 10.3 HBase安装与配置 HBase服务规划 机器名 HMaster HRegionServer Zook...

1746
来自专栏Netkiller

ElasticSearch + Logstash + Kibana 一键安装

第 19 章 ElasticSearch + Logstash + Kibana 目录 19.1. ElasticSearch + Logstash + Kib...

3844
来自专栏Hadoop实操

如何使用Cloudera Manager禁用HDFS HA

前面Fayson写过《如何使用Cloudera Manager启用HDFS的HA》。本篇文章主要讲述如何使用Cloudera Manager禁用HDFS HA。

3075
来自专栏闵开慧

在Ubuntu中安装Hadoop

在装Hadoop之前首先需要:  1.java1.6.x 最好是sun的,1.5.x也可以  2.ssh 安装ssh $ sudo apt-get insta...

31510
来自专栏Hadoop实操

如何在Kerberos与非Kerberos的CDH集群BDR不可用时复制数据

本文档描述了在Kerberos与非Kerberos的CDH集群之间BDR不可用的情况下实现数据互导。文档主要讲述

49711
来自专栏有困难要上,没有困难创造困难也要上!

使用docker-compose创建hadoop集群

1414
来自专栏编程坑太多

【zookeeper】简单安装

913

扫码关注云+社区