[ https://issues.apache.org/jira/browse/ATLAS-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Mestry reassigned ATLAS-4024: -------------------------------------- Assignee: Ashutosh Mestry > Atlas terms are not imported to target cluster using Atlas export/import API > ---------------------------------------------------------------------------- > > Key: ATLAS-4024 > URL: https://issues.apache.org/jira/browse/ATLAS-4024 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 2.1.0 > Reporter: Umesh Padashetty > Assignee: Ashutosh Mestry > Priority: Major > Attachments: > ATLAS-4024-Terms-not-getting-exported-in-incremental.patch, destination.png, > source.png > > > Created a table with name "src_test5_t1" and assigned "test term" to > it.Created a table with name "src_test5_t1" and assigned "test term" to it. > Atlas export API was then run with below payload: > {code:java} > { "itemsToExport": [{ "typeName": "hive_db", "uniqueAttributes": { > "qualifiedName": "src_test5@cm" } }], "options": { "replicatedTo": "cm", > "fetchType": "incremental", "skipLineage": true, "changeMarker": 0 }, > "fetchTypeOptionValue": "incremental", "skipLineageOptionValue": true, > "changeTokenFromOptions": 0} {code} > Atlas Import was run with below payload: > {code:java} > { { options = { transformers: [{ "conditions": { "__entity": "topLevel: " }, > "action": { "__entity": "ADD_CLASSIFICATION: cm_replicated" } }, { "action": > { "__entity.replicatedTo": "CLEAR:", "__entity.replicatedFrom": "CLEAR:" } }, > { "conditions": { "hive_db.clusterName": "EQUALS: cm" }, "action": { > "hive_db.clusterName": "SET: cm" } }, { "conditions": { "hive_db.name": > "EQUALS: src_test5" }, "action": { "hive_db.name": "SET: tgt_test5" } }, { > "conditions": { "hive_db.location": "STARTS_WITH_IGNORE_CASE: > hdfs://host:8020" }, "action": { "hive_db.location": "REPLACE_PREFIX: = > :hdfs://host:8020=hdfs://host:8020" } }, { "conditions": { > "hive_storagedesc.location": "STARTS_WITH_IGNORE_CASE: hdfs://host:8020" }, > "action": { "hive_storagedesc.location": "REPLACE_PREFIX: = > :hdfs://host:8020=hdfs://host:8020" } }], replicatedFrom: cm, size: 1 } } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)