Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 99F11200C22 for ; Tue, 21 Feb 2017 20:36:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9881D160B68; Tue, 21 Feb 2017 19:36:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E3D06160B4F for ; Tue, 21 Feb 2017 20:36:56 +0100 (CET) Received: (qmail 49113 invoked by uid 500); 21 Feb 2017 19:36:56 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 49102 invoked by uid 99); 21 Feb 2017 19:36:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2017 19:36:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 956C0C0D2D for ; Tue, 21 Feb 2017 19:36:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.802 X-Spam-Level: X-Spam-Status: No, score=0.802 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id V7YyvrMaCn3q for ; Tue, 21 Feb 2017 19:36:54 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 222835F613 for ; Tue, 21 Feb 2017 19:36:54 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 65343E02F1 for ; Tue, 21 Feb 2017 19:36:44 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2197A2411F for ; Tue, 21 Feb 2017 19:36:44 +0000 (UTC) Date: Tue, 21 Feb 2017 19:36:44 +0000 (UTC) From: "Madhan Neethiraj (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ATLAS-1577) Regression: ENTITY_DELETE audit overwrites the existing audits for a hive table (entities created through hooks are affected) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Feb 2017 19:36:57 -0000 [ 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)