- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How can we create lineageinfo between two entities using atlas rest api v2
- Labels:
-
Apache Atlas
Created ‎11-14-2018 10:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we need to create lineageinfo between two existed entities or new created entities, but can not find useful api, any help is aprreciated
Created ‎11-14-2018 07:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@haosheng lou, consider creating a process entity with inputs and outputs attributes.
e.g.
POST http://localhost:21000/api/atlas/v2/entity
{ "entity": { "typeName": "Process", "attributes": { "description": null, "name": "process1", "owner": null, "inputs": [ { "guid": "cf3be027-1cbf-4109-a6b4-dabe980043a0", "typeName": "DataSet" } ], "outputs": [ { "guid": "8493a6a6-51c8-4106-a3dc-89eccb00833d", "typeName": "DataSet" } ], "qualifiedName": "process1@cl1" }, "guid": -1 }, "referredEntities": {} }
Created ‎11-14-2018 07:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@haosheng lou, consider creating a process entity with inputs and outputs attributes.
e.g.
POST http://localhost:21000/api/atlas/v2/entity
{ "entity": { "typeName": "Process", "attributes": { "description": null, "name": "process1", "owner": null, "inputs": [ { "guid": "cf3be027-1cbf-4109-a6b4-dabe980043a0", "typeName": "DataSet" } ], "outputs": [ { "guid": "8493a6a6-51c8-4106-a3dc-89eccb00833d", "typeName": "DataSet" } ], "qualifiedName": "process1@cl1" }, "guid": -1 }, "referredEntities": {} }
Created ‎11-19-2018 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you very much, it works through you method!
Created ‎12-10-2018 09:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get another error when create hive_process by rest api v2 , detail info in
