Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.8-incubating, trunk
-
None
Description
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
{ "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" } ] }