From issues-return-15220-archive-asf-public=cust-asf.ponee.io@sentry.apache.org Thu Aug 23 16:41:26 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B37CE180679 for ; Thu, 23 Aug 2018 16:41:25 +0200 (CEST) Received: (qmail 78011 invoked by uid 500); 23 Aug 2018 14:41:24 -0000 Mailing-List: contact issues-help@sentry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@sentry.apache.org Received: (qmail 78002 invoked by uid 99); 23 Aug 2018 14:41:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2018 14:41:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B2FFE181160 for ; Thu, 23 Aug 2018 14:41:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mZVZ24-tEuky for ; Thu, 23 Aug 2018 14:41:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 28AC95F485 for ; Thu, 23 Aug 2018 14:41:01 +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 67FE2E0111 for ; Thu, 23 Aug 2018 14:41:00 +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 0D84A2468F for ; Thu, 23 Aug 2018 14:41:00 +0000 (UTC) Date: Thu, 23 Aug 2018 14:41:00 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: issues@sentry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SENTRY-2318) Sentry listener should log the failure if grant/revoke of owner privilege fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SENTRY-2318?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D165= 90327#comment-16590327 ]=20 Sergio Pe=C3=B1a commented on SENTRY-2318: ------------------------------------- [~kkalyan] I don't think we should throw an exception on HIve when this fai= ls. Logging the error is enough. The user won't know if something fails of = course, but Hive will fail if we throw the exception. Is there anything els= e to do in this patch? > Sentry listener should log the failure if grant/revoke of owner privilege= fails > -------------------------------------------------------------------------= ------ > > Key: SENTRY-2318 > URL: https://issues.apache.org/jira/browse/SENTRY-2318 > Project: Sentry > Issue Type: Sub-task > Components: Sentry > Affects Versions: 2.1.0 > Reporter: kalyan kumar kalvagadda > Assignee: kalyan kumar kalvagadda > Priority: Major > Attachments: SENTRY-2318.001.patch, SENTRY-2318.002.patch > > > If the grant/revoke of owner privilege fails for any reason it should log= ged be as an error in the hive logs otherwise this will go un-noticed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)