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 "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2019/01/10 05:26:00 UTC

[jira] [Commented] (HDFS-14175) EC: Native XOR decoder should reset the output buffer before using it.

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

Surendra Singh Lilhore commented on HDFS-14175:
-----------------------------------------------

I will commit this today

> EC: Native XOR decoder should reset the output buffer before using it.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-14175
>                 URL: https://issues.apache.org/jira/browse/HDFS-14175
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ec, hdfs
>    Affects Versions: 3.1.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14175-01.patch, HDFS-14175-02.patch, HDFS-14175-03.patch
>
>
> *jni_xor_decoder#xxxxxxx_decodeImpl()* ** should reset the outputs[0] before using it. Sometime file decode give wrong data because of this. Please refer the XORRawDecoder#doDecode() for the java  implementation of XOR decoder.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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