Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2781

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0, 2.0.0
    • atlas-core
    • None

    Description

      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

      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
      

      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.

      Attachments

        Activity

          People

            sarath Sarath Subramanian
            sarath Sarath Subramanian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: