hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12448) Make sure user defined erasure coding policy ID will not overflow
Date Fri, 20 Oct 2017 02:47:00 GMT

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


Mime
View raw message