Apache atlas 安装

Apache atlas 安装
1. /etc/profile,需要配JAVA_HOME
2.环境:MAVEN3.6/JDK8
3.下载
 wget https://www.apache.org/dyn/closer.cgi/atlas/1.1.0/apache-atlas-1.1.0-sources.tar.gz
4.解压
 tar xvfz apache-atlas-1.1.0-sources.tar.gz
5.进入目录
cd apache-atlas-sources-1.1.0
6.查找并修改pom.xml
 <plugin> 
 <groupId>org.codehaus.mojo</groupId> 
 <artifactId>findbugs-maven-plugin</artifactId> 
 <version>3.0.5</version> 
 </plugin>
7.构建编译
export MAVEN_OPTS="-Xms2g -Xmx4g" 

mvn clean -DskipTests install
8.打包
  • To create Apache Atlas package for deployment in an environment having functional Apache HBase and Apache Solr instances, build with the following command:

    mvn clean -DskipTests package -Pdist
    
  • Packaging Apache Atlas with embedded Apache HBase & Apache Solr:

    mvn clean -DskipTests package -Pdist,embedded-hbase-solr
    
  • Packaging Apache Atlas with embedded Apache Cassandra & Apache Solr

    mvn clean package -Pdist,embedded-cassandra-solr
    
9. Apache Atlas Package
distro/target/apache-atlas-${project.version}-bin.tar.gz
distro/target/apache-atlas-${project.version}-hbase-hook.tar.gz
distro/target/apache-atlas-${project.version}-hive-hook.gz
distro/target/apache-atlas-${project.version}-kafka-hook.gz
distro/target/apache-atlas-${project.version}-sources.tar.gz
distro/target/apache-atlas-${project.version}-sqoop-hook.tar.gz
distro/target/apache-atlas-${project.version}-storm-hook.tar.gz
distro/target/apache-atlas-${project.version}-server.tar.gz
10.安装、运行
tar -xzvf apache-atlas-${project.version}-bin.tar.gz
cd atlas-${project.version}
export MANAGE_LOCAL_HBASE=true
export MANAGE_LOCAL_SOLR=true
./bin/atlas_start.py
11. 验证
curl -u admin:admin http://localhost:21000/api/atlas/admin/version

 输出:{"Description":"Metadata Management and Data Governance Platform over Hadoop","Version":"1.1.0","Name":"apache-atlas"}
 

Run quick start to load sample model and data:

./bin/quick_start.py
Enter username for atlas :-
Enter password for atlas :-

Access Apache Atlas UI using a browser: http://localhost:21000

./bin/atlas_stop.py
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值