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 2018/09/18 19:00:00 UTC

[jira] [Commented] (ATLAS-2781) Hard Delete : Deleting an entity which is associated to an term associated to a tag fails

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

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

Commit a00875362d724a22b2d00d1645f5a28dc8bcd075 in atlas's branch refs/heads/branch-1.0 from [~sarath.kum4r@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=a008753 ]

ATLAS-2781: Hard Delete : Deleting an entity which is associated to an term associated to a tag fails

(cherry picked from commit 59ae59dbaf8ce4a35886d5a9e5af7020666b1763)


> Hard Delete : Deleting an entity which is associated to an term associated to a tag fails
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2781
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2781
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.1.0
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>            Priority: Critical
>             Fix For: 1.2.0
>
>         Attachments: 0001-ATLAS-2781-Hard-Delete-Deleting-an-entity-which-is-a.patch
>
>
> 1. Create a term term1 under glossary glossary1 .
> 2. Create tag tag1.
> 3. Associate tag1 to term1.
> 4. Create a hive_db db1 .
> 5. Associate db1 to term1.
> 6. Drop db1.
> When hard delete is configured , delete db entity operation fails with 
> {code}
> Max retries exceeded for message [AtlasObjectId\{guid='null', typeName='hive_db', uniqueAttributes={qualifiedName:db12@cl1}}] (NotificationHookConsumer:531)
> org.apache.atlas.exception.AtlasBaseException: Given instance guid 243874d4-9e5a-4411-b170-b73045a59267 is invalid/not found
> {code}
> Attached the complete stack trace.
> Note:
> In the following scenarios , delete works properly:
> 1. Deleting the db without any tag/term association
> 2. Deleting the db with either tag or term association
> 3. Deleting the db associated to a term and also a tag.
> Issue happens only when the entity is associated to a term, which is associated to a tag.



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