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

Andrew Wang commented on HDFS-11623:
------------------------------------

Aha, now I understand better your concern. I did an IDE refactor to move these 
methods to SystemErasureCodingPolicies. You're right that with user-defined 
policies, some of these changed places will change back to call an ECPManager 
getter that can return both system policies and user-defined policies.

As an aside, I checked all the {{getPolicy}} usage earlier when implementing 
enabling/disabling of EC system policies. We probably should do that again once 
user-defined policies are ready.

> Move system erasure coding policies into hadoop-hdfs-client
> -----------------------------------------------------------
>
>                 Key: HDFS-11623
>                 URL: https://issues.apache.org/jira/browse/HDFS-11623
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: HDFS-11623.001.patch, HDFS-11623.002.patch, 
> HDFS-11623.003.patch, HDFS-11623.004.patch
>
>
> This is a precursor to HDFS-11565. We need to move the set of system defined 
> EC policies out of the NameNode's ECPolicyManager into the hdfs-client module 
> so it can be referenced by the client.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to