特别注意:

atlas已经提供了0.8版本可以安装了,只有在国外的服务器上安装编译才比较顺利,可以按照官方文档去安装。

国内很多网址有被墙的问题,目前还没有完全解决,可能安装不成功

安装文档地址:http://atlas.apache.org/0.8.0-incubating/InstallationSteps.html

操作系统为ubuntu16.具体安装过程略

JDK使用JDK1.8.具体安装过程略

MAVEN3.3.具体安装过程略。

安装git版本.具体过程略

如果在国外的服务器上安装,可以不换源。

部分配置需要换源和FQ,可以参考此文档进行系统的基础配置:http://www.cnblogs.com/maobuji/p/6428537.html

若在国外服务器上可以使用google的镜像来加入maven的下载

<mirror>
<id>google-maven-central</id>
<name>Google Maven Central</name>
<url>https://maven-central.storage.googleapis.com</url>
<mirrorOf>central</mirrorOf>
</mirror>

获取apache atlas源代码,或者到官网上下载release版本

git clone https://git-wip-us.apache.org/repos/asf/incubator-atlas.git atlas
cd atlas

启动构建

export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install

但构建会启动单元测试,时间比较长,可以添加忽略测试

另外,如果一次构建失败了。可以不进行clean,直接install

export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn install -DskipTests

接下来是漫长的等待:(,若编译成功,则会提示下面的内容

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [ 29.869 s]
[INFO] apache-atlas ....................................... SUCCESS [: min]
[INFO] Apache Atlas Integration ........................... SUCCESS [: min]
[INFO] Apache Atlas Common ................................ SUCCESS [ 14.013 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [: min]
[INFO] Apache Atlas Client ................................ SUCCESS [ 29.192 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 9.333 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 19.377 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.607 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 5.454 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 6.793 s]
[INFO] Apache Atlas Titan 1.0. GraphDB Impl .............. SUCCESS [: min]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [ 11.299 s]
[INFO] Apache Atlas Titan 0.5. Graph DB Impl ............. SUCCESS [ 52.467 s]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 2.142 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 35.793 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [: min]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 8.175 s]
[INFO] Apache Atlas Business Catalog ...................... SUCCESS [ 13.057 s]
[INFO] Apache Atlas UI .................................... SUCCESS [: min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [: min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [ 29.650 s]
[INFO] Apache Atlas FileSystem Model ...................... SUCCESS [ 3.675 s]
[INFO] Apache Atlas Plugin Classloader .................... SUCCESS [ 6.580 s]
[INFO] Apache Atlas Hive Bridge Shim ...................... SUCCESS [ 49.676 s]
[INFO] Apache Atlas Hive Bridge ........................... SUCCESS [ 22.269 s]
[INFO] Apache Atlas Falcon Bridge Shim .................... SUCCESS [ 27.845 s]
[INFO] Apache Atlas Falcon Bridge ......................... SUCCESS [ 9.340 s]
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SUCCESS [ 9.426 s]
[INFO] Apache Atlas Sqoop Bridge .......................... SUCCESS [ 7.413 s]
[INFO] Apache Atlas Storm Bridge Shim ..................... SUCCESS [ 16.481 s]
[INFO] Apache Atlas Storm Bridge .......................... SUCCESS [ 14.226 s]
[INFO] Apache Atlas Distribution .......................... SUCCESS [ 2.466 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: : min

接着进行打包,有多种选择,我们选择比较简单的内嵌方式打包

mvn clean package -DskipTests -Pdist,berkeley-elasticsearch

也可以使用以下几种方式进行打包(1.使用外部的hbase。2.内嵌hbase)

mvn clean package -DskipTests -Pdist,external-hbase-solr
mvn clean package -DskipTests -Pdist,embedded-hbase-solr

打包结束后,可以到atlas源代码目录的 distro/target目录下拿到打包出来的产品

(一)apache atlas源代码编译与打包的更多相关文章

  1. red5源代码编译并打包公布

    编译环境:ubuntu14.04/JDK7 步骤: 1.svn检出源代码(两种方式) svn co --depth empty https://github.com/Red5/red5-server ...

  2. apache atlas源码编译打包 centos

    参考:https://atlas.apache.org/InstallationSteps.html https://blog.csdn.net/lingbo229/article/details/8 ...

  3. Storm-0.9.2-incubating源代码编译打包

    近期遇到一些同学询问Storm-0.9.2-incubating源代码编译打包的问题,现将编译步骤说明例如以下: 1.凝视掉project各pom文件里关于maven插件(maven-gpg-plug ...

  4. Apache Kafka-0.8.1.1源代码编译

    作者:过往记忆 | 新浪微博:左手牵右手TEL | 能够转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明博客地址:http://www.iteblog.com/文章标题:<Apac ...

  5. [Apache Atlas] Atlas 架构设计及源代码简单分析

    Apache Atlas 架构图 Atlas 支持多数据源接入:Hive.HBase.Storm等 Type System Type Atlas 中定义了一些元数据类型 ── AtlasBaseTyp ...

  6. scala + intellij idea 环境搭建及编译、打包

    大数据生态圈中风头正旺的Spark项目完全是采用Scala语言开发的,不懂Scala的话,基本上就没法玩下去了.Scala与Java编译后的class均可以运行于JVM之上,就好象.NET中F#与C# ...

  7. 编译安装&打包压缩&定时任务

    内容概要 编译安装 打包压缩 定时任务 内容详细 一.编译安装 1.特点 使用源代码,编译打包软件. ​ 1.可以自定制软件 ​ 2.按需构建软件啊 2.步骤 下载安装包 wget 下载网址 如果没有 ...

  8. Android应用程序资源的编译和打包过程分析

    文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/8744683 我们知道,在一个APK文件中,除了 ...

  9. Android 自动编译、打包生成apk文件 4 - 多渠道批量打包

    相关文章列表: < Android 自动编译.打包生成apk文件 1 - 命令行方式> < Android 自动编译.打包生成apk文件 2 - 使用原生Ant方式 > < ...

随机推荐

  1. RedHat6.5安装Spark集群

    版本号: RedHat6.5   RHEL 6.5系统安装配置图解教程(rhel-server-6.5) JDK1.8      http://blog.csdn.net/chongxin1/arti ...

  2. 回顾<Video Timing Controller v6.1>

    回顾<Video Timing Controller v6.1> VTC总体架构图: 对于最基本的功能:视频时序产生

  3. sql 数据类型转换

    1.convert(float,endtimepart)——conver(数据类型,字段名称) 2.cast(endtimepart as float)——cast(字段名称 as 数据类型)

  4. 跟未名学Office - PPT操作:高效

    第二章. PPT操作:高效... 3 第一节 操作视图... 3 第二节 Word草稿... 4 第三节 幻灯片母版... 5 第四节 幻灯片页... 7 第五节 幻灯片排版... 8 第六节 模板. ...

  5. 黄聪:Android酷炫实用的开源框架(UI框架)(转)

    Android酷炫实用的开源框架(UI框架) 前言 忙碌的工作终于可以停息一段时间了,最近突然有一个想法,就是自己写一个app,所以找了一些合适开源控件,这样更加省时,再此分享给大家,希望能对大家有帮 ...

  6. tomcat源码 StandardServer

    在执行org.apache.catalina.startup.Catalina#load的时候会执行org.apache.catalina.core.StandardServer#init,然后会调到 ...

  7. node.js 学习的一个链接

    Node.js简介 点击查看 狼叔 的

  8. DS图遍历--广度优先搜索

    题目描述 代码框架如下: 输入 第一行输入t,表示有t个测试实例 第二行输入n,表示第1个图有n个结点 第三行起,每行输入邻接矩阵的一行,以此类推输入n行 第i个结点与其他结点如果相连则为1,无连接则 ...

  9. 测试教程网.unittest教程.2. 基本用法

    From: http://www.testclass.net/pyunit/basic_example/ 我们通过最简单的例子来看一下unittest的基本用法,下面的代码测试了3个python字符串 ...

  10. 【git】之常用命令

    再使用git过程常用的命令在6-10左右,但是如果你想精通git那么需要记住的命令在80左右, 下面看这张图,我们了解一下git的概念的常用操作! Workspace:工作区(例如eclipse的工作 ...