lichaojacobs commented on PR #4163:
URL: https://github.com/apache/hadoop/pull/4163#issuecomment-1096380601

   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](https://user-images.githubusercontent.com/7459785/162919933-a024e482-a2c6-48c8-827a-95c1b94fa14a.png)
   Thus It will also makes the `rawWriteInt` always write zero
   
![image](https://user-images.githubusercontent.com/7459785/162920195-71c957c6-81f7-4a22-9a13-2d3ed9957132.png)
   
   
   


-- 
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]

Reply via email to