lyft amundsen简单试用
生活随笔
收集整理的這篇文章主要介紹了
lyft amundsen简单试用
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
昨天有說(shuō)過(guò)amundsen 官方為我們提供了dockerc-compose 運(yùn)行的參考配置,以下是一個(gè)來(lái)自官方的 quick start
clone amundsen 代碼
amundsen 使用了git 子模塊,同時(shí)我們運(yùn)行demo,需要的項(xiàng)目也在里邊
git clone --recurse-submodules https://github.com/lyft/amundsen.git
啟動(dòng)docker-compose 環(huán)境
使用neo4j 存儲(chǔ)metedata
cd amundsen && docker-compose -f docker-amundsen.yml up -d
效果
導(dǎo)入數(shù)據(jù)模型到neo4j
amundsendatabuilder 項(xiàng)目,項(xiàng)目上邊已經(jīng)clone 了,可以直接使用,項(xiàng)目使用venv 進(jìn)行python 環(huán)境管理
python 環(huán)境準(zhǔn)備
cd amundsendatabuilder
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 setup.py install
導(dǎo)入數(shù)據(jù)模型
python3 example/scripts/sample_data_loader.py
查詢效果
查詢test
schema 信息
模型完善操作
說(shuō)明
當(dāng)前amundsen 功能可能還是相對(duì)單一,但是整體是一個(gè)不錯(cuò)的數(shù)據(jù)發(fā)現(xiàn)解決方案
一個(gè)參考架構(gòu)
參考資料
https://github.com/lyft/amundsen/blob/master/docs/installation.md
總結(jié)
以上是生活随笔為你收集整理的lyft amundsen简单试用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。