Member since
01-21-2023
3
Posts
0
Kudos Received
0
Solutions
08-05-2025
01:36 PM
Hello @DreamDelerium Lineage in Apache Atlas is typically built using Process entities that link Input and Output DataSet entities. When you're dealing with multiple processes and datasets, the correct way is to model each logical step as a separate Process entity, with the associated datasets connected as inputs and outputs. So yes — creating multiple Process entities is the right approach for modeling complex lineage.
... View more
01-22-2025
05:25 AM
Hello @DreamDelerium Thanks for the sharing this question with us as I checked both both datasource both datasource lineage data should be same because the datasystem_datatransfer part of datasystem_datasource so the origin will be same for lineage data now I comes with you first question why creating this second lineage would impact the first? Not it couldn't impact. Please let me know if you required any clarification for your above question
... View more
01-21-2023
02:54 PM
I am trying to figure out the Apache Atlas Common Library for my Spring Boot project. To be honest, I am having a really hard time finding any documentation on this library. But, I import it in my Pom file like this: <dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-common</artifactId>
<version>2.2.0</version>
</dependency> I am trying to create a relationship between two entities. I know I can do this with the REST API, like this: {
"typeName": "MyRealtionshipName",
"end1": {
"guid": "c69933db-f0b5-4f9a-99d9-b5f950f58b4f",
"typeName": "myentitytype_1",
"uniqueAttributes": {
"qualifiedName": "obj1@id@myentitytype_1"
}
},
"end2": {
"guid": "9ca8259f-673e-4dc5-80f2-67c8e6487cf4",
"typeName": "myentitytype_2",
"uniqueAttributes": {
"qualifiedName": "obj1@myentitytype_2"
}
},
"label": "r:MyNewRelationship",
"propagateTags": "NONE"
} But, I want to do this through the Apache Atlas library. I cannot find any documentation on how to do this. Can anyone assist and/or provide documentation? On the library side, I am able to create entities like this: private final AtlasClientV2 atlasClient;
AtlasService() {
atlasClient = new AtlasClientV2(new String[]{"http://localhost:21000"}, new String[]{"admin", "admin"});
}
public EntityMutationResponse createNewEntity(myOBj obj) throws AtlasServiceException {
AtlasEntity newEntity= new AtlasEntity();
newEntity.setTypeName("entity_tpye");
newEntity.setAttribute("id", myOBj.getId());
newEntity.setAttribute("name", myOBj.getName());
AtlasEntity.AtlasEntitiesWithExtInfo entitesToCreate = new AtlasEntity.AtlasEntitiesWithExtInfo();
entitesToCreate.setEntities(Arrays.asList(newEntity));
EntityMutationResponse entitiesCreated = atlasClient.createEntities(entitesToCreate);
//create relationship between this newEntity and a previously created entity with a given GUID
}
... View more
Labels:
- Labels:
-
Apache Atlas