luomh1998 opened a new pull request, #5526: URL: https://github.com/apache/hadoop/pull/5526
### Description of PR When dfsStripedInputStream do pread from a striped block group and read internal block timeout, so will read parity block for decode and fill original chunk buffer with decoded data. Here try to fill original chunk buffer with decoded data, but get wrong data. The reason is that 1.original chunk buffer already read some bytes before timeout from blockReader 2.chunkBytebuffer's slice always fill begin 0 position of decodeByteBuffer slice bytebuffer will fill from wrong decodeByteBuffer position, so will get wrong data from pread. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
