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

Rui Li updated HDFS-7866:
-------------------------
    Attachment: HDFS-7866.13.patch

I realized that {{TestEditLog}} fails on trunk as well. So it's not related to 
the patch here.

The v13 patch mainly addresses Walter's comments:
# Adds the JavaDoc.
# Moves LAYOUT_BIT_WIDTH and MAX_REDUNDANCY to {{HeaderFormat}}.
# Adds method {{getECPolicyID}} to {{HeaderFormat}} so that we don't have to 
reuse {{getReplication}} to get the policy id. Currently we only have setter 
for replication but not for EC policy, so don't need to take care of the setter.
# Updates {{TestErasureCodingPolicies#testReplication}} to make sure setting 
replication on EC file doesn't mess up with the policy.

> Erasure coding: NameNode manages multiple erasure coding policies
> -----------------------------------------------------------------
>
>                 Key: HDFS-7866
>                 URL: https://issues.apache.org/jira/browse/HDFS-7866
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Rui Li
>         Attachments: HDFS-7866-v1.patch, HDFS-7866-v2.patch, 
> HDFS-7866-v3.patch, HDFS-7866.10.patch, HDFS-7866.11.patch, 
> HDFS-7866.12.patch, HDFS-7866.13.patch, HDFS-7866.4.patch, HDFS-7866.5.patch, 
> HDFS-7866.6.patch, HDFS-7866.7.patch, HDFS-7866.8.patch, HDFS-7866.9.patch
>
>
> This is to extend NameNode to load, list and sync predefine EC schemas in 
> authorized and controlled approach. The provided facilities will be used to 
> implement DFSAdmin commands so admin can list available EC schemas, then 
> could choose some of them for target EC zones.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to