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 54C2A200C08 for ; Thu, 26 Jan 2017 19:45:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5350C160B50; Thu, 26 Jan 2017 18:45:33 +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 9D7DB160B4C for ; Thu, 26 Jan 2017 19:45:32 +0100 (CET) Received: (qmail 94470 invoked by uid 500); 26 Jan 2017 18:45:31 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 94447 invoked by uid 99); 26 Jan 2017 18:45:31 -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; Thu, 26 Jan 2017 18:45:31 +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 4E2E1C0939 for ; Thu, 26 Jan 2017 18:45:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id p44bDBQqo3K9 for ; Thu, 26 Jan 2017 18:45:26 +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 279B65F472 for ; Thu, 26 Jan 2017 18:45:26 +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 2BC7CE040F for ; Thu, 26 Jan 2017 18:45:25 +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 8D5492528F for ; Thu, 26 Jan 2017 18:45:24 +0000 (UTC) Date: Thu, 26 Jan 2017 18:45:24 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-11364) Add a test to verify Audit log entries for setfacl/getfacl commands over FS shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Jan 2017 18:45:33 -0000 [ https://issues.apache.org/jira/browse/HDFS-11364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-11364: ----------------------------- Summary: Add a test to verify Audit log entries for setfacl/getfacl commands over FS shell (was: Verify Audit log entries for setfacl/getfacl commands over FS shell) > Add a test to verify Audit log entries for setfacl/getfacl commands over FS shell > --------------------------------------------------------------------------------- > > Key: HDFS-11364 > URL: https://issues.apache.org/jira/browse/HDFS-11364 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs, test > Affects Versions: 3.0.0-alpha1 > Reporter: Manoj Govindassamy > Assignee: Manoj Govindassamy > Attachments: HDFS-11364.01.patch > > > The general phenomena has been to Audit log all successful commands and the ones resulting in AccessControlException. For ACLs, we do have a unit test covering the AccessControlException/Failure cases. Would be better if we can have a unit test covering the successful ACL APIs and ACL commands over FS shell as well. > Additionally, FS Shell getfacl command has a performance improvement (HADOOP-12776) where by the shell would skip the call to getAclStatus if the permission bits in getFileInfo() doesn't have ACL bit set. Good to have Audit log test covering this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org