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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/12 08:44:00 UTC

[jira] [Work logged] (HADOOP-18199) Fix ZStandardCompressor bytesRead meta when using BlockCompressorStream

     [ https://issues.apache.org/jira/browse/HADOOP-18199?focusedWorklogId=755643&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-755643 ]

ASF GitHub Bot logged work on HADOOP-18199:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Apr/22 08:43
            Start Date: 12/Apr/22 08:43
    Worklog Time Spent: 10m 
      Work Description: lichaojacobs opened a new pull request, #4163:
URL: https://github.com/apache/hadoop/pull/4163

   …ompressorStream
   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
   -->
   
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 755643)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>         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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org