(一)apache atlas源代码编译与打包
特别注意:
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源代码编译与打包的更多相关文章
- red5源代码编译并打包公布
编译环境:ubuntu14.04/JDK7 步骤: 1.svn检出源代码(两种方式) svn co --depth empty https://github.com/Red5/red5-server ...
- apache atlas源码编译打包 centos
参考:https://atlas.apache.org/InstallationSteps.html https://blog.csdn.net/lingbo229/article/details/8 ...
- Storm-0.9.2-incubating源代码编译打包
近期遇到一些同学询问Storm-0.9.2-incubating源代码编译打包的问题,现将编译步骤说明例如以下: 1.凝视掉project各pom文件里关于maven插件(maven-gpg-plug ...
- Apache Kafka-0.8.1.1源代码编译
作者:过往记忆 | 新浪微博:左手牵右手TEL | 能够转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明博客地址:http://www.iteblog.com/文章标题:<Apac ...
- [Apache Atlas] Atlas 架构设计及源代码简单分析
Apache Atlas 架构图 Atlas 支持多数据源接入:Hive.HBase.Storm等 Type System Type Atlas 中定义了一些元数据类型 ── AtlasBaseTyp ...
- scala + intellij idea 环境搭建及编译、打包
大数据生态圈中风头正旺的Spark项目完全是采用Scala语言开发的,不懂Scala的话,基本上就没法玩下去了.Scala与Java编译后的class均可以运行于JVM之上,就好象.NET中F#与C# ...
- 编译安装&打包压缩&定时任务
内容概要 编译安装 打包压缩 定时任务 内容详细 一.编译安装 1.特点 使用源代码,编译打包软件. 1.可以自定制软件 2.按需构建软件啊 2.步骤 下载安装包 wget 下载网址 如果没有 ...
- Android应用程序资源的编译和打包过程分析
文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/8744683 我们知道,在一个APK文件中,除了 ...
- Android 自动编译、打包生成apk文件 4 - 多渠道批量打包
相关文章列表: < Android 自动编译.打包生成apk文件 1 - 命令行方式> < Android 自动编译.打包生成apk文件 2 - 使用原生Ant方式 > < ...
随机推荐
- MySQL GTID 主从复制错误修复方法
https://yq.aliyun.com/articles/155827?spm=5176.8067842.tagmain.6.RFPTAL MySQL 传统的主从复制方式使用 master_log ...
- vagrant 安装笔记
本文档的编写参考慕课网视频教程,感谢慕课网提供的免费教程 http://www.imooc.com/learn/805 搭建一个环境,不需要重复配置,直接利用vagrant复制就可以了 https:/ ...
- VC禁止或允许拖拽改变窗口尺寸
创建窗口时用WS_THICKFRAME控制 BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CMDIFrameWndEx:: ...
- <亲测>.NET Core项目在Linux上使用QRCoder时出错"Unable to load DLL 'gdiplus'"
Centos 7 解决方案如下: yum install libgdiplus-devel
- html json 导出Excel
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
- jquery 中prop和 attr
prop就是给html中元素固有的属性赋值 而attr是给元素定义新的属性值.
- PREV-6_蓝桥杯_翻硬币
问题描述 小明正在玩一个“翻硬币”的游戏. 桌上放着排成一排的若干硬币.我们用 * 表示正面,用 o 表示反面(是小写字母,不是零). 比如,可能情形是:**oo***oooo 如果同时翻转左边的两个 ...
- 通过分析Ajax请求 抓取今日头条街拍图集
代码: import os import re import json import time from hashlib import md5 from multiprocessing import ...
- 查看php-fpm开启的进程数以及每个进程的内存限制
查看php-fpm开启的进程数以及每个进程的内存限制 1.通过命令查看服务器上一共开了多少的 php-cgi 进程 ps -fe |grep "php-fpm"|grep &qu ...
- Java NIO系列教程(十一) Pipe
Java NIO 管道是2个线程之间的单向数据连接.Pipe有一个source通道和一个sink通道.数据会被写到sink通道,从source通道读取. 这里是Pipe原理的图示: 创建管道 通过Pi ...