[
https://issues.apache.org/jira/browse/HDFS-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158488#comment-14158488
]
Tsz Wo Nicholas Sze commented on HDFS-7076:
-------------------------------------------
One quick comment: Let's rename addStoragePolicy to defineStoragePolicy. It
should support
- adding a new policy;
- overwriting an existing policy;
- deleting an existing policy (when the policy parameter is an empty policy).
> Persist Block Storage Policy in FSImage and Edit Log
> ----------------------------------------------------
>
> Key: HDFS-7076
> URL: https://issues.apache.org/jira/browse/HDFS-7076
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-7076.000.patch, HDFS-7076.001.patch,
> HDFS-7076.002.patch, HDFS-7076.003.patch, editsStored
>
>
> Currently block storage policies are hard coded. This JIRA is to persist the
> policies in FSImage and Edit Log in order to support adding new policies or
> modifying existing policies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)