You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "chaoli (Jira)" <ji...@apache.org> on 2022/04/12 08:53:00 UTC
[jira] [Resolved] (HADOOP-18199) Fix ZStandardCompressor bytesRead meta when using BlockCompressorStream
[ https://issues.apache.org/jira/browse/HADOOP-18199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chaoli resolved HADOOP-18199.
-----------------------------
Resolution: Not A Bug
> Fix ZStandardCompressor bytesRead meta when using BlockCompressorStream
> -----------------------------------------------------------------------
>
> Key: HADOOP-18199
> URL: https://issues.apache.org/jira/browse/HADOOP-18199
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.3.1, 3.3.2
> Reporter: chaoli
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2022-04-12-16-11-10-443.png, image-2022-04-12-16-14-37-105.png
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{There is a bug when we use ZStandardCompressor which wrapped by `BlockCompressorStream`. }}
> The reason is the `bytesRead` in ZStandardCompressor implement is always zero, which should be set to bytes length when call setInput.
> !image-2022-04-12-16-14-37-105.png!
> Thus I makes the `rawWriteInt` always write zero
> !image-2022-04-12-16-11-10-443.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org