You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/02/21 18:23:44 UTC

[jira] [Assigned] (ATLAS-1577) Regression: ENTITY_DELETE audit overwrites the existing audits for a hive table (entities created through hooks are affected)

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

Madhan Neethiraj reassigned ATLAS-1577:
---------------------------------------

    Assignee: Madhan Neethiraj

> Regression: ENTITY_DELETE audit overwrites the existing audits for a hive table (entities created through hooks are affected)
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1577
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1577
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: trunk, 0.8-incubating
>            Reporter: Ayub Khan
>            Assignee: Madhan Neethiraj
>            Priority: Critical
>             Fix For: trunk, 0.8-incubating
>
>
> ENTITY_DELETE audit is overwriting the entity create/update audit for hive entities. basically the entity creation calls made through hooks is broken.
> Steps to repro:
> 1. create table employee4 (name String);
> 2. drop table employee4;
> After the above two steps the audit tab will  not show any entity create event. It just logs the delete event.
> https://172.27.28.206:21443/api/atlas/entities/cdcd1e7a-823d-40c8-879d-de35efbf9f25/audit?count=26
> {noformat}
> {  
>    "requestId":"pool-2-thread-10 - 8dcc84f5-78a3-43af-bac6-45ec1ff38f80",
>    "events":[  
>       {  
>          "entityId":"cdcd1e7a-823d-40c8-879d-de35efbf9f25",
>          "timestamp":1487672066373,
>          "action":"ENTITY_DELETE",
>          "details":"Deleted entity",
>          "eventKey":"cdcd1e7a-823d-40c8-879d-de35efbf9f25:1487672066373"
>       }
>    ]
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)