[
https://issues.apache.org/jira/browse/ATLAS-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-3012:
------------------------------------
Fix Version/s: (was: 2.0.0)
trunk
> Import of hive_db fails to create deleted column entity which was recreated
> again.
> -----------------------------------------------------------------------------------
>
> 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
> Assignee: Nixon Rodrigues
> Priority: Major
> Fix For: trunk
>
> Attachments: ATLAS-3012.patch, response.zip
>
>
> *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)