[
https://issues.apache.org/jira/browse/ATLAS-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247436#comment-17247436
]
ASF subversion and git services commented on ATLAS-4024:
--------------------------------------------------------
Commit 5d3649c1b11e495547db22c192c163ff2a0f7044 in atlas's branch
refs/heads/branch-2.0 from Ashutosh Mestry
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5d3649c ]
ATLAS-4024: Export Service: Export of terms.
Signed-off-by: Ashutosh Mestry <[email protected]>
> 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)