-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add check compressor's byte size when finish compress #277
base: trunk
Are you sure you want to change the base?
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
This patch contains the following changes: 1. Refactor watermark and end-of-stream logic. The aggregation/handling has been moved from WatermarkManager/EndOfStreamManager to be inline inside OperatorImpl. This is for keeping the logic in one place. 2. Now subclass of OperatorImpl will override handleWatermark() to do its specific handling, such as fire trigger. 3. Add emitWatermark() in OperatorImpl so subclass can call it to emit watermark upon receiving a message or watermark. Author: Xinyu Liu <[email protected]> Author: Xinyu Liu <[email protected]> Reviewers: Yi Pan <[email protected]> Closes apache#277 from xinyuiscool/SAMZA-1386
💔 -1 overall
This message was automatically generated. |
org.apache.hadoop.io.compress.BlockCompressorStream#finish is a public function,so other apps can call the method directly,such as
flume
,but when compressor.getBytesRead() == 0 then it will write a null data,and then the data after the null data will not be read as they lost. So,please add the check in the method.Thank you.