You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2017/09/21 07:41:00 UTC

[jira] [Commented] (HDFS-12448) Make sure user defined erasure coding policy ID will not overflow

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

Kai Zheng commented on HDFS-12448:
----------------------------------

The patch looks good. Could you also update the doc, to say that the max number of user defined polices the system can support? Thanks Huafeng.

> 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
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org