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 50DB8101FF for ; Fri, 5 Dec 2014 04:48:14 +0000 (UTC) Received: (qmail 56032 invoked by uid 500); 5 Dec 2014 04:48:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 55982 invoked by uid 500); 5 Dec 2014 04:48:14 -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 55970 invoked by uid 99); 5 Dec 2014 04:48:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 04:48:14 +0000 Date: Fri, 5 Dec 2014 04:48:13 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7454) Reduce memory footprint for AclEntries in NameNode 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-7454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235065#comment-14235065 ] Haohui Mai commented on HDFS-7454: ---------------------------------- The v4 patch looks good to me. +1 > Reduce memory footprint for AclEntries in NameNode > -------------------------------------------------- > > Key: HDFS-7454 > URL: https://issues.apache.org/jira/browse/HDFS-7454 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Vinayakumar B > Assignee: Vinayakumar B > Attachments: HDFS-7454-001.patch, HDFS-7454-002.patch, HDFS-7454-003.patch, HDFS-7454-004.patch > > > HDFS-5620 indicated a GlobalAclSet containing unique {{AclFeature}} can be de-duplicated to save the memory in NameNode. However it was not implemented at that time. > This Jira re-proposes same implementation, along with de-duplication of unique {{AclEntry}} across all ACLs. > One simple usecase is: > A mapreduce user's home directory with the set of default ACLs, under which lot of other files/directories could be created when jobs is run. Here all the default ACLs of parent directory will be duplicated till the explicit delete of those ACLs. With de-duplication,only one object will be in memory for the same Entry across all ACLs of all files/directories. -- This message was sent by Atlassian JIRA (v6.3.4#6332)