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

Hudson commented on HDFS-12448:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13114 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/13114/])
HDFS-12448. Make sure user defined erasure coding policy ID will not 
(kai.zheng: rev ce7cf66e5ed74c124afdb5a6902fbf297211cc04)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ErasureCodeConstants.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingPolicies.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingPolicyManager.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md


> 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