[
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: [email protected]
For additional commands, e-mail: [email protected]