Atlas安装部署

一、Solr安装

1、下载 curl -O https://downloads.apache.org/lucene/solr/8.8.2/solr-8.8.2.tgz

2、安装

       采用cloud模式安装

       tar -zxvf solr-8.8.2.tgz

       mv solr-8.8.2 /opt/module/
       mv solr atlas_conf

      具体配置参考: https://blog.csdn.net/g511266804/article/details/106489935

 3、启停

     bin/solr stop

     bin/solr start -c -z i-siqi02.novalocal:2181,i-siqi03.novalocal:2181,i-siqi04.novalocal:2181 -p 8983 -force

 4、使用

   (1)网址

         http://i-siqi02.novalocal:8983/solr

(2)创建索引

bin/solr create -c vertex_index -d /opt/module/solr/atlas_conf -shards 3 -replicationFactor 2 -force
bin/solr create -c edge_index -d /opt/module/solr/atlas_conf -shards 3 -replicationFactor 2 -force
bin/solr create -c fulltext_index -d /opt/module/solr/atlas_conf -shards 3 -replicationFactor 2 -force

https://www.cnblogs.com/daishiwen/p/6965918.html

二、atlas安装

参考: https://blog.csdn.net/g511266804/article/details/106489935/

1、下载

https://atlas.apache.org/

atlas :wget -c https://ftp.jaist.ac.jp/pub/apache/atlas/2.1.0/apache-atlas-2.1.0-sources.tar.gz

2、编译

 在linux下进行编译 ,第一次2个小时左右

tar xvfz apache-atlas-2.1.0-sources.tar.gz
cd apache-atlas-sources-2.1.0/
export MAVEN_OPTS="-Xms2g -Xmx2g"
mvn clean -DskipTests install

 3、安装

     参考安装文档步骤即可

   (1)访问网址报503错误

           有可能是stop时进程没有被kill,可以jps看下对应的进程是否有多个,kill进程后重启即可。

           netstat -tunlp|grep 21000

3、启停

bin/atlas_start.py
bin/atlas_stop.py

 

4、访问

 http://i-siqi02.novalocal:21000  

  用户名密码:admin/admin

5、导入hive元数据

  参考:  https://blog.csdn.net/weixin_44131414/article/details/114096860

  (1) import-hive.sh 找不到是:

    apache-atlas-sources-2.1.0/distro/target/apache-atlas-2.1.0-hive-hook/apache-atlas-hive-hook-2.1.0/hook-bin

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值