最近研究有关Alluxio的有关信息,首先我们从Alluxio的源代码出手,直接利用工具去编译源码,这样以后可以更好的二次开发。
1.环境
Hadoop 2.6.0
Spark 1.6.0
Java 1.7
RHEL6.4
Maven工具 3.3.9
2.下载:
wget https://github.com/Alluxio/alluxio/archive/v1.3.0.tar.gz
3.编译:
mvn clean package -Djava.version=1.7 -Dhadoop.version=2.6.0 -Dspark.version=1.6.0 -DskipTests
4.安装成功:
[INFO] No match to regex '^1\..*$' found in'2.6.0'. The initial value '2.6.0' is left as-is...
[INFO]
[INFO] --- maven-enforcer-plugin:1.4:enforce(enforce-maven) @ alluxio-assemblies ---
[INFO]
[INFO] ---maven-enforcer-plugin:1.4:enforce (enforce-versions) @ alluxio-assemblies ---
[INFO]
[INFO] ---maven-checkstyle-plugin:2.17:check (checkstyle) @ alluxio-assemblies ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- license-maven-plugin:2.9:check(default) @ alluxio-assemblies ---
[INFO] Checking licenses...
[INFO]
[INFO] <<<maven-source-plugin:2.3:jar (attach-sources) < generate-sources @alluxio-assemblies <<<
[INFO]
[INFO] --- maven-source-plugin:2.3:jar(attach-sources) @ alluxio-assemblies ---
[INFO] No sources in project. Archive notcreated.
[INFO]
[INFO] --- maven-javadoc-plugin:2.9:jar(attach-javadoc) @ alluxio-assemblies ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Alluxio Parent..................................... SUCCESS [ 22.413 s]
[INFO] Alluxio Core....................................... SUCCESS [ 2.204 s]
[INFO] Alluxio Core - Common Utilities.................... SUCCESS [02:56 min]
[INFO] Alluxio Under File System.......................... SUCCESS [ 1.429 s]
[INFO] Alluxio Under File System - Local FS............... SUCCESS [ 20.886 s]
[INFO] Alluxio Under File System - HDFS................... SUCCESS [ 35.497 s]
[INFO] Alluxio Under File System - GlusterFS ............. SUCCESS [ 24.071 s]
[INFO] Alluxio Under File System - AliyunOSS ............. SUCCESS [ 25.822 s]
[INFO] Alluxio Under File System - Swift.................. SUCCESS [ 27.846 s]
[INFO] Alluxio Under File System - S3..................... SUCCESS [ 27.808 s]
[INFO] Alluxio Under File System - S3A.................... SUCCESS [ 26.848 s]
[INFO] Alluxio Under File System - GCS ....................SUCCESS [ 23.020 s]
[INFO] Alluxio Core - Client.............................. SUCCESS [01:11 min]
[INFO] Alluxio Core - Server.............................. SUCCESS [04:57 min]
[INFO] Alluxio Key Value.................................. SUCCESS [ 1.242 s]
[INFO] Alluxio Key Value - Common Utilities............... SUCCESS [ 52.398 s]
[INFO] Alluxio Key Value - Client......................... SUCCESS [ 29.632 s]
[INFO] Alluxio Key Value - Server......................... SUCCESS [ 25.454 s]
[INFO] Alluxio Shell...................................... SUCCESS [ 34.934 s]
[INFO] Alluxio Examples................................... SUCCESS [ 33.736 s]
[INFO] Alluxio MiniCluster................................ SUCCESS [ 26.804 s]
[INFO] Alluxio Tests...................................... SUCCESS [ 11.637 s]
[INFO] Alluxio Integration................................ SUCCESS [ 1.208 s]
[INFO] Alluxio Assemblies................................. SUCCESS [ 14.017 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]------------------------------------------------------------------------
[INFO] Total time: 16:56 min
[INFO] Finished at:2016-12-16T11:00:05+08:00
[INFO] Final Memory: 100M/330M
[INFO]------------------------------------------------------------------------
[hadoop@hslave2 alluxio-1.3.0]$