[ 
https://issues.apache.org/jira/browse/HDFS-17521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chenyu Zheng updated HDFS-17521:
--------------------------------
    Description: 
I found that if the erasedIndexes distribution is such that the parity index is 
in front of the data index, ec will produce wrong results when decoding.

In fact, HDFS-15186 has described this problem, but does not fundamentally 
solve it.

The reason is that the code assumes that erasedIndexes is preceded by the data 
index and followed by parity index. If there is a parity index placed in front 
of the data index, a calculation error will occur.

  was:
I found that if the erasedIndexes distribution is such that the parity index is 
in front of the data index, ec will produce wrong results when decoding.

In fact, HDFS-15186 has described this problem, but does not fundamentally 
solve it.

The reason is that the code assumes that erasedIndexes is preceded by the data 
index and followed by parity index. If there is a parity index placed in front 
of the data index in the incoming code, a calculation error will occur.


> Erasure Coding: Fix calculation errors caused by special index order
> --------------------------------------------------------------------
>
>                 Key: HDFS-17521
>                 URL: https://issues.apache.org/jira/browse/HDFS-17521
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Chenyu Zheng
>            Assignee: Chenyu Zheng
>            Priority: Critical
>              Labels: pull-request-available
>
> I found that if the erasedIndexes distribution is such that the parity index 
> is in front of the data index, ec will produce wrong results when decoding.
> In fact, HDFS-15186 has described this problem, but does not fundamentally 
> solve it.
> The reason is that the code assumes that erasedIndexes is preceded by the 
> data index and followed by parity index. If there is a parity index placed in 
> front of the data index, a calculation error will occur.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
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