You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/12/10 18:53:00 UTC

[jira] [Commented] (ATLAS-4024) Atlas terms are not imported to target cluster using Atlas export/import API

    [ https://issues.apache.org/jira/browse/ATLAS-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247414#comment-17247414 ] 

ASF subversion and git services commented on ATLAS-4024:
--------------------------------------------------------

Commit 31125c58c8a6d2edf0bd7de4e31c44e18adc9a7f in atlas's branch refs/heads/master from Ashutosh Mestry
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=31125c5 ]

ATLAS-4024: Export Service: Export of terms.

Signed-off-by: Ashutosh Mestry <am...@cloudera.com>


> 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)