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 A211810900 for ; Wed, 23 Jul 2014 15:04:41 +0000 (UTC) Received: (qmail 34765 invoked by uid 500); 23 Jul 2014 15:04:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 34684 invoked by uid 500); 23 Jul 2014 15:04:39 -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 34522 invoked by uid 99); 23 Jul 2014 15:04:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 15:04:39 +0000 Date: Wed, 23 Jul 2014 15:04:38 +0000 (UTC) From: "Charles Lamb (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6738) Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone 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-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Lamb updated HDFS-6738: ------------------------------- Target Version/s: fs-encryption (HADOOP-10150 and HDFS-6134) Status: Patch Available (was: Open) Compilation issue only so no tests included in this patch. > Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone > ---------------------------------------------------------------------------------- > > Key: HDFS-6738 > URL: https://issues.apache.org/jira/browse/HDFS-6738 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134) > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Priority: Minor > Attachments: HDFS-6738.001.patch > > > We can remove the following getEncryptionZoneForPath call below. > {code} > // done this way to handle edit log loading > dir.unprotectedSetXAttrs(src, xattrs, EnumSet.of(XAttrSetFlag.CREATE)); > ezi = getEncryptionZoneForPath(srcIIP); > return ezXAttr; > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)