Skip to content
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

Decompressor's finished() fix #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shmuma
Copy link

@Shmuma Shmuma commented Jan 20, 2012

Without this, hbase 0.90.4-cdh3u2 produces lots of warnings "org.apache.hadoop.hbase.io.hfile.Compression: Deompressor obtained from CodecPool is already finished()"

@ghost
Copy link

ghost commented Jan 21, 2012

Wow, good catch! Thanks for submitting the fix. I will test it and then merge.
Please drop me a line if you have a second ;)

@omalley
Copy link

omalley commented Jan 28, 2012

This will fail to mark a finished, 0-byte stream as finished.

My version of the fix is at:

https://github.com/hortonworks/hadoop-lzo/commit/729bcc3d0d86fefb5a9b0a76fbcdbc20bc497db8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants