[ 
https://issues.apache.org/jira/browse/HDFS-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal resolved HDFS-7153.
---------------------------------
          Resolution: Fixed
       Fix Version/s: HDFS-6581
    Target Version/s:   (was: 2.6.0)
        Hadoop Flags: Reviewed

bq. Other than this +1.

Committed to the feature branch after fixing this. Thanks for the reviews Jing!

> 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: Sub-task
>          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)

Reply via email to