Skip to content

Decompressor's finished() fix#2

Open
Shmuma wants to merge 1 commit into
Karmasphere:masterfrom
Shmuma:master
Open

Decompressor's finished() fix#2
Shmuma wants to merge 1 commit into
Karmasphere:masterfrom
Shmuma:master

Conversation

@Shmuma

@Shmuma Shmuma commented Jan 20, 2012

Copy link
Copy Markdown

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

ghost commented Jan 21, 2012

Copy link
Copy Markdown

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

omalley commented Jan 28, 2012

Copy link
Copy Markdown

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.

2 participants