[
https://issues.apache.org/jira/browse/HDFS-12448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212021#comment-16212021
]
Kai Zheng commented on HDFS-12448:
----------------------------------
+1 on the latest patch.
> 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
> 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]