Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD53110433 for ; Fri, 31 Jan 2014 19:46:23 +0000 (UTC) Received: (qmail 71310 invoked by uid 500); 31 Jan 2014 19:46:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 71245 invoked by uid 500); 31 Jan 2014 19:46:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 71200 invoked by uid 99); 31 Jan 2014 19:46:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jan 2014 19:46:10 +0000 Date: Fri, 31 Jan 2014 19:46:10 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5614) NameNode: implement handling of ACLs in combination with snapshots. 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/HDFS-5614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888077#comment-13888077 ] Jing Zhao commented on HDFS-5614: --------------------------------- The v2 patch looks great to me. Just some minors: # Not related to this patch, shall we also use INodeWithAdditionalFields#getFeature for INodeDirectory#getDirectoryxxxFeature? # MiniDFSCluster#getFileSystem returns DistributedFileSystem, thus we do not need the following check: {code} + FileSystem fs = cluster.getFileSystem(); + assertTrue(fs instanceof DistributedFileSystem); + hdfs = (DistributedFileSystem)fs; {code} # In the INodeDirectory constructor INodeDirectory(INodeDirectory other, boolean adopt, boolean copyFeatures), since we want to copy the acl feature (and maybe some other features in future), how about defining a constructor like INodeDirectory(INodeDirectory other, boolean adopt, Feature...featuresToCopy) ? > NameNode: implement handling of ACLs in combination with snapshots. > ------------------------------------------------------------------- > > Key: HDFS-5614 > URL: https://issues.apache.org/jira/browse/HDFS-5614 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Affects Versions: HDFS ACLs (HDFS-4685) > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-5614.1.patch, HDFS-5614.2.patch > > > Within a snapshot, all ACLs are frozen at the moment that the snapshot was created. ACL changes in the parent of the snapshot are not applied to the snapshot. -- This message was sent by Atlassian JIRA (v6.1.5#6160)