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

Wei-Chiu Chuang commented on HDFS-11152:
----------------------------------------

Retriggered jenkins build 
https://builds.apache.org/job/PreCommit-HDFS-Build/18628/

I think the patch is mostly good. We can improve the error message a little 
bit. This message doesn't tells us much other than the policy id is unexpected. 
Can we also print the INode id/file name as well as the policy id?

> Start erasure coding policy ID number from 1 instead of 0 to void potential 
> unexpected errors
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11152
>                 URL: https://issues.apache.org/jira/browse/HDFS-11152
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: SammiChen
>            Assignee: SammiChen
>            Priority: Blocker
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-11152-v1.patch, HDFS-11152-v2.patch, 
> HDFS-11152-v3.patch
>
>
> This task will change erasure coding policy ID number starting from 1 instead 
> of current 0, to avoid some potential unexpected errors in codes since 0 is 
> default value for integer variables. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to