特别注意:

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. Maven install报MojoExecutionException

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (m ...

  2. ES中文分词器之精确短语匹配(解决了match_phrase匹配不全的问题)

    分词器选择 调研了几种分词器,例如IK分词器,ansj分词器,mmseg分词器,发现IK的分词效果最好.举个例子: 词:<<是的>><span>哈<\span ...

  3. backgroud 应用减小资源大小和请求数

    一,一个典型的应用,利用小图的自动延伸,实现整个网页背景图,充分节约资源宽带.如:汽车之家的404页背景图就是这样 <div style="height: 3000px; backgr ...

  4. zabbix 监控报警详细邮件内容

    AlarmHost:{HOSTNAME1} AlarmTime:{EVENT.DATE} {EVENT.TIME} AlarmLevel:{TRIGGER.SEVERITY} AlarmMessige ...

  5. 使用C#调用PI-SDK进行基于PI的开发

    一.概述 PI-SDK(Plant Information Software Develop Kit)是OSI公司提供的基于面向对象的访问PI数据库的软件开发工具包,它可以对以下数据库进行读写: ²  ...

  6. oracle sql 添加、修改数据库操作方式

    年龄大了,写程序总记不住.记录一下格式: private const string SQL_INSTERT = @"INSERT INTO QS_ROOM_QUEUE (QUEUEID,RO ...

  7. Azure SQL Database (26) 使用Query Store对Azure SQL Database监控

    <Windows Azure Platform 系列文章目录> 我们在使用Azure SQL Database的时候,需要对数据库的性能进行监控,这时候就可以有两种方法: 1.第一种方法, ...

  8. spring boot编译项目打jar包

    <build> <plugins> <!--jar包打包--> <plugin> <groupId>org.springframework. ...

  9. 简单说throw和throws的区别

    1. 区别 throws是用来声明一个方法可能抛出的所有异常信息,throws是将异常声明但是不处理,而是将异常往上传,谁调用我就交给谁处理.而throw则是指抛出的一个具体的异常类型. 2.分别介绍 ...

  10. Microsoft Office 2016 简体中文 Vol 版镜像下载

    在使用上,零售版和批量授权版并没有区别,只是授权方式方面的区别,相对而言,VOL 版的更容易激活一些,其他并没有什么区别了. 有需要的可以在下面下载:(以下均是 VL 版) 版本:Office 201 ...