atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1577) Regression: ENTITY_DELETE audit overwrites the existing audits for a hive table (entities created through hooks are affected)
Date Tue, 21 Feb 2017 19:36:44 GMT

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

Madhan Neethiraj updated ATLAS-1577:
------------------------------------
    Attachment: ATLAS-1577.patch

Review board URL: https://reviews.apache.org/r/56897/

> 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: 0.8-incubating
>
>         Attachments: ATLAS-1577.patch
>
>
> 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)

Mime
View raw message