[ 
https://issues.apache.org/jira/browse/HADOOP-18199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HADOOP-18199:
------------------------------------
    Labels: pull-request-available  (was: )

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

Reply via email to