Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A876102E1 for ; Wed, 14 Jan 2015 22:55:33 +0000 (UTC) Received: (qmail 66584 invoked by uid 500); 14 Jan 2015 22:55:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66540 invoked by uid 500); 14 Jan 2015 22:55:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 66354 invoked by uid 99); 14 Jan 2015 22:55:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 22:55:35 +0000 Date: Wed, 14 Jan 2015 22:55:35 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12831) Changing the set of vis labels a user has access to doesn't generate an audit log event MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277841#comment-14277841 ] Sean Busbey commented on HBASE-12831: ------------------------------------- {code} + } catch (IOException e) { + LOG.warn("Failed to get active system user."); + } {code} Please include the exception object. I'd prefer if the exception object was in a second debug message, e.g. {code} + } catch (IOException e) { + LOG.warn("Failed to get active system user."); + LOG.debug("details on failure to get active system user.", e); + } {code} Some way of logging the exception for the active user failure aside, overall looks good. +1. > Changing the set of vis labels a user has access to doesn't generate an audit log event > --------------------------------------------------------------------------------------- > > Key: HBASE-12831 > URL: https://issues.apache.org/jira/browse/HBASE-12831 > Project: HBase > Issue Type: Bug > Affects Versions: 1.0.0, 2.0.0, 0.98.6 > Reporter: Sean Busbey > Assignee: Ashish Singhi > Labels: audit > Fix For: 1.0.1, 0.98.11 > > Attachments: HBASE-12831-v2.patch, HBASE-12831-v3.patch, HBASE-12831.patch, HBASE-12831v4.patch > > > Right now, the AccessController makes sure that (when users care about audit events) we generate an audit log event for any access change, like granting or removing a permission from a user. > When the set of labels a user has access to is altered, it gets handled by the VisibilityLabelService and we don't log anything to the audit log. -- This message was sent by Atlassian JIRA (v6.3.4#6332)