You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2018/12/27 11:06:00 UTC

[jira] [Created] (ATLAS-3012) Import of hive_db fails to create deleted column entity when it was recreated in target cluster

Nixon Rodrigues created ATLAS-3012:
--------------------------------------

             Summary: Import of hive_db fails to create deleted column entity when it was recreated in target cluster
                 Key: ATLAS-3012
                 URL: https://issues.apache.org/jira/browse/ATLAS-3012
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core, atlas-intg
    Affects Versions: 1.1.0
            Reporter: Nixon Rodrigues
             Fix For: 2.0.0


 *Following is the test scenario:*


In the source cluster :
1. create table with 3 columns (id,name,dob)
2. drop column dob
3. add the same dob column again.

Now table has 3 ACTIVE columns and 1 DELETED column.

Export the db into the target cluster.

In the target cluster :
only 2 ACTIVE (id,name) and 1 DELETED (dob) column is present. The ACTIVE column (dob) is not present.

The exported zip contains both the DELETED and the ACTIVE dob column entity.

In the source cluster ,
if GUID1 is GUID of ACTIVE dob entity , and GUID2 is GUID of deleted dob entity.
In the target cluster , 
GUID1 is GUID of DELETED entity.

Example : 
*In source :*
ACTIVE: [https://atlas_source_host/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070|https://ctr-e139-1542663976389-33282-01-000008.hwx.site:21443/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070]
DELETED:[https://|https://ctr-e139-1542663976389-33282-01-000008.hwx.site:21443/index.html#!/detailPage/f7686214-7585-4da3-875f-3e5223875289] [atlas_source_host|https://ctr-e139-1542663976389-33282-01-000008.hwx.site:21443/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070] [/index.html#!/detailPage/f7686214-7585-4da3-875f-3e5223875289|https://ctr-e139-1542663976389-33282-01-000008.hwx.site:21443/index.html#!/detailPage/f7686214-7585-4da3-875f-3e5223875289]

*In target :*
DELETED : [https://|https://ctr-e139-1542663976389-33282-01-000007.hwx.site:21443/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070] [atlas_target_host|https://ctr-e139-1542663976389-33282-01-000008.hwx.site:21443/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070] [/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070|https://ctr-e139-1542663976389-33282-01-000007.hwx.site:21443/index.html#!/detailPage/7cca7064-8519-4db3-aab5-ebd446d15070]

*{color:#d04437}Entity with GUID f7686214-7585-4da3-875f-3e5223875289 is not found.{color}*

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)