[
https://issues.apache.org/jira/browse/HDFS-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-7153:
--------------------------------
Issue Type: Improvement (was: Sub-task)
Parent: (was: HDFS-6581)
> 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
> Fix For: HDFS-6581
>
> Attachments: HDFS-7153.01.patch, HDFS-7153.02.patch,
> HDFS-7153.03.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)