[ https://issues.apache.org/jira/browse/HDFS-14175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729676#comment-16729676 ]
Ayush Saxena commented on HDFS-14175: ------------------------------------- Thanx [~surendrasingh] for putting this up. Have uploaded patch with the fix. Pls Review :) > 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 > > > *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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org