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

Kai Zheng updated HDFS-12448:
-----------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Committed to trunk and 3.0 branch. Thanks [~HuafengWang] for the contribution!

> Make sure user defined erasure coding policy ID will not overflow
> -----------------------------------------------------------------
>
>                 Key: HDFS-12448
>                 URL: https://issues.apache.org/jira/browse/HDFS-12448
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: erasure-coding
>            Reporter: SammiChen
>            Assignee: Huafeng Wang
>              Labels: hdfs-ec-3.0-nice-to-have
>             Fix For: 3.0.0
>
>         Attachments: HDFS-12448.001.patch, HDFS-12448.002.patch
>
>
> Current policy ID is of type "byte".  1~63 is reserved for built-in erasure 
> coding policy. 64 above is for user defined erasure coding policy. Make sure 
> user policy ID will not overflow when addErasureCodingPolicy API is called. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to