hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7153) Add storagePolicy to NN edit log during file creation
Date Sat, 27 Sep 2014 00:39:34 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150279#comment-14150279
] 

Jing Zhao commented on HDFS-7153:
---------------------------------

Thanks Arpit!

bq. Ok to fix it in a separate Jira now that we are doing the change in a branch?

Sure.

bq. Don't see any harm since we are doing the same thing for boolean. Let me know what alternative
you have in mind.

How about simply calling {{out.writeByte(policyId)}} ?

> 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
>         Attachments: HDFS-7153.01.patch, HDFS-7153.02.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)

Mime
View raw message