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 19352176D6 for ; Tue, 30 Sep 2014 20:21:35 +0000 (UTC) Received: (qmail 63484 invoked by uid 500); 30 Sep 2014 20:21:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 63435 invoked by uid 500); 30 Sep 2014 20:21:34 -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 63272 invoked by uid 99); 30 Sep 2014 20:21:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 20:21:34 +0000 Date: Tue, 30 Sep 2014 20:21:34 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7153) Add storagePolicy to NN edit log during file creation 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-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-7153: -------------------------------- Status: Patch Available (was: Reopened) > Add storagePolicy to NN edit log during file creation > ----------------------------------------------------- > > Key: HDFS-7153 > URL: https://issues.apache.org/jira/browse/HDFS-7153 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 2.6.0 > Reporter: Arpit Agarwal > Assignee: Arpit Agarwal > Attachments: HDFS-7153.01.patch, HDFS-7153.02.patch, HDFS-7153.03.patch, HDFS-7153.merge.04.patch > > > Storage Policy ID is currently not logged in the NN edit log during file creation as part of {{AddOp}}. This is okay for now since we don't have an API to set storage policy during file creation. > However now that we have storage policies, for HDFS-6581 we are looking into using the feature instead of adding a new field to the INodeFile header. It would be useful to have the ability to save policy on file create. -- This message was sent by Atlassian JIRA (v6.3.4#6332)