[ 
https://issues.apache.org/jira/browse/ATLAS-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Orzechowski updated ATLAS-4775:
--------------------------------------
    Description: 
As of now, there is no way of removing classification from deleted entity in 
webui. Because of that classifications that are attached to deleted entities 
also cannot be removed.

Steps to reproduce:
 # Create Entity
 # Create Classification
 # Attach Classification from 2. to Entity from 1.
 # Delete entity using endpoint DELETE /v2/entity/guid/\{guid}
 # Trying to remove Classification yields an error

Workaround:
 * Classification can be removed from Entity via REST, DELETE 
/v2/entity/guid/\{guid}/classification/\{classificationName}

 

!image-2023-07-20-01-00-45-029.png!

 

This bug can occur when using HiveHook with Atlas.

Simple case:
 # Table is created and entity metadata is transferred to Atlas
 # Classification gets attached
 # Table gets deleted and HiveHook sends event to mark entity as deleted

A very simple solution would be to add (x) button next to classification such 
is present in deleted entity.

This issue doesn't exist with terms and glossaries because when glossary/term 
gets deleted it also is removed from each entity.

 

  was:
As of now, there is no way of removing classification from deleted entity in 
webui. Because of that classifications that are attached to deleted entities 
also cannot be removed.

Steps to reproduce:
 # Create Entity
 # Create Classification
 # Attach Classification from 2. to Entity from 1.
 # Delete entity using endpoint DELETE /v2/entity/guid/\{guid}
 # Trying to remove Classification yields an error

Workaround:
 * Classification can be removed from Entity via REST, DELETE 
/v2/entity/guid/\{guid}/classification/\{classificationName}

 

!image-2023-07-20-01-00-45-029.png!

 

This bug can occur when using HiveHook with Atlas.

Simple case:
 # Table is created and entity metadata is transferred to Atlas
 # Classification gets attached
 # Table gets deleted and HiveHook send event to mark entity as deleted

A very simple solution would be to add (x) button next to classification such 
is present in deleted entity.

This issue doesn't exist with terms and glossaries because when glossary/term 
gets deleted it also is removed from each entity.

 


> Cannot remove classification from a deleted entity
> --------------------------------------------------
>
>                 Key: ATLAS-4775
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4775
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>    Affects Versions: 3.0.0
>            Reporter: Szymon Orzechowski
>            Priority: Major
>         Attachments: image-2023-07-20-01-00-45-029.png
>
>
> As of now, there is no way of removing classification from deleted entity in 
> webui. Because of that classifications that are attached to deleted entities 
> also cannot be removed.
> Steps to reproduce:
>  # Create Entity
>  # Create Classification
>  # Attach Classification from 2. to Entity from 1.
>  # Delete entity using endpoint DELETE /v2/entity/guid/\{guid}
>  # Trying to remove Classification yields an error
> Workaround:
>  * Classification can be removed from Entity via REST, DELETE 
> /v2/entity/guid/\{guid}/classification/\{classificationName}
>  
> !image-2023-07-20-01-00-45-029.png!
>  
> This bug can occur when using HiveHook with Atlas.
> Simple case:
>  # Table is created and entity metadata is transferred to Atlas
>  # Classification gets attached
>  # Table gets deleted and HiveHook sends event to mark entity as deleted
> A very simple solution would be to add (x) button next to classification such 
> is present in deleted entity.
> This issue doesn't exist with terms and glossaries because when glossary/term 
> gets deleted it also is removed from each entity.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to