当前位置:网站首页>Apache atlas quick start

Apache atlas quick start

2022-06-10 16:01:00 Zhun Xiaozhao

Quick start


Official website information I
 Insert picture description here
Official information II

 Insert picture description here

Chinese version ( The charm of open source lies in exploring , Official website , Seems to say , I didn't seem to say )

 Insert picture description here

Start quick mode


start-up (bin/quick_start.py)


  • Start record
[[email protected] apache-atlas-2.2.0]$ bin/quick_start.py 
Enter username for atlas :- admin
Enter password for atlas :- 

Creating sample types: 
Created type [DB]
Created type [Table]
Created type [StorageDesc]
Created type [Column]
Created type [LoadProcess]
Created type [LoadProcessExecution]
Created type [View]
Created type [JdbcAccess]
Created type [ETL]
Created type [Metric]
Created type [PII]
Created type [Fact]
Created type [Dimension]
Created type [Log Data]
Created type [Table_DB]
Created type [View_DB]
Created type [View_Tables]
Created type [Table_Columns]
Created type [Table_StorageDesc]

Creating sample entities: 
Created entity of type [DB], guid: cf985910-bb62-4769-ac87-b084fcc47f74
Created entity of type [DB], guid: 21c0ffc7-bd11-408c-9041-0672f9ca102a
Created entity of type [DB], guid: c4fa984d-f7ab-4b03-91c4-994f4833f54d
Created entity of type [Table], guid: 023a181c-a447-4521-b1ce-27de8bd6e1f9
Created entity of type [Table], guid: 2be4c563-b879-4644-8542-870e07ed8bde
Created entity of type [Table], guid: fb028943-8604-49fe-a3b3-dcafa3b96c39
Created entity of type [Table], guid: 6bbc5390-33ac-49e4-834a-b01fd43e09bf
Created entity of type [Table], guid: 41ecdd2a-770f-4a82-9c79-f445b66e31bc
Created entity of type [Table], guid: 86ffee6a-c3b7-45e6-acc4-91e8e7728a37
Created entity of type [Table], guid: 57eac16b-2dde-4c65-a388-d4215e33d2d0
Created entity of type [Table], guid: 64bcc027-6df8-497d-b35d-f9802d31fe71
Created entity of type [View], guid: 4148a3d7-7e75-4765-a3da-be3aae53cc51
Created entity of type [View], guid: 21582d0a-e4e5-47fc-9900-3e03b4afbda8
Created entity of type [LoadProcess], guid: 689c10b3-a7af-4d1e-a337-4590b115aad8
Created entity of type [LoadProcessExecution], guid: 97e60c25-a211-4c9a-82db-1e34c189b600
Created entity of type [LoadProcessExecution], guid: eafb468b-ad33-4318-95fd-eb5b47ad3edb
Created entity of type [LoadProcess], guid: e64ab2fc-4bf7-4dd7-b1da-4c334db3de39
Created entity of type [LoadProcessExecution], guid: d9629e4a-4ade-482e-99f3-54278008f2f8
Created entity of type [LoadProcessExecution], guid: a3168fbc-8dcb-4e31-a832-02be5c2629c9
Created entity of type [LoadProcess], guid: 5f193ccb-db40-4b12-8bfa-3ac4d00fd956
Created entity of type [LoadProcessExecution], guid: 3f925b8e-a265-43f1-b03f-6fce002ead73
Created entity of type [LoadProcessExecution], guid: d1f0f32f-7c2a-4fe8-8e98-16991f7a8a43

Sample DSL Queries: 
query [from DB] returned [3] rows.
query [DB] returned [3] rows.
query [DB where name=%22Reporting%22] returned [1] rows.
query [DB where name=%22encode_db_name%22] returned [ 0 ] rows.
query [Table where name=%2522sales_fact%2522] returned [1] rows.
query [DB where name="Reporting"] returned [1] rows.
query [DB where DB.name="Reporting"] returned [1] rows.
query [DB name = "Reporting"] returned [1] rows.
query [DB DB.name = "Reporting"] returned [1] rows.
query [DB where name="Reporting" select name, owner] returned [1] rows.
query [DB where DB.name="Reporting" select name, owner] returned [1] rows.
query [DB has name] returned [3] rows.
query [DB where DB has name] returned [3] rows.
query [DB is JdbcAccess] returned [ 0 ] rows.
query [from Table] returned [8] rows.
query [Table] returned [8] rows.
query [Table is Dimension] returned [5] rows.
query [Column where Column isa PII] returned [6] rows.
query [View is Dimension] returned [2] rows.
query [Column select Column.name] returned [8] rows.
query [Column select name] returned [8] rows.
query [Column where Column.name="customer_id"] returned [4] rows.
query [from Table select Table.name] returned [8] rows.
query [DB where (name = "Reporting")] returned [1] rows.
query [DB where DB is JdbcAccess] returned [ 0 ] rows.
query [DB where DB has name] returned [3] rows.
query [DB as db1 Table where (db1.name = "Reporting")] returned [ 0 ] rows.
query [Dimension] returned [9] rows.
query [JdbcAccess] returned [2] rows.
query [ETL] returned [10] rows.
query [Metric] returned [6] rows.
query [PII] returned [6] rows.
query [`Log Data`] returned [5] rows.
query [Table where name="sales_fact", columns] returned [4] rows.
query [Table where name="sales_fact", columns as column select column.name, column.dataType, column.comment] returned [4] rows.
query [from DataSet] returned [10] rows.
query [from Process] returned [3] rows.

Sample Lineage Info: 
sales_fact(Table) -> loadSalesDaily(LoadProcess)
sales_fact_daily_mv(Table) -> loadSalesMonthly(LoadProcess)
time_dim(Table) -> loadSalesDaily(LoadProcess)
loadSalesMonthly(LoadProcess) -> sales_fact_monthly_mv(Table)
loadSalesDaily(LoadProcess) -> sales_fact_daily_mv(Table)
Sample data added to Apache Atlas Server.

[[email protected] apache-atlas-2.2.0]$ 

Query again


 Insert picture description here

Consanguinity


 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[Zhun Xiaozhao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101243436081.html