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

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

Sarath Subramanian created ATLAS-2781:
-----------------------------------------

             Summary: 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
             Fix For: 1.1.0


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)