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

Combined LZO files #22

Open
joey opened this issue Jun 16, 2011 · 3 comments
Open

Combined LZO files #22

joey opened this issue Jun 16, 2011 · 3 comments

Comments

@joey
Copy link

joey commented Jun 16, 2011

Would it be possible to add support combined LZO files? For example, if I compress two files and then concatenate the compressed versions, it'd be nice to be able to decompress the combined file get the contents of both files back out. The lzop program supports this.

@aripollak
Copy link

Out of curiosity, what is the current hadoop-lzo behavior?

@joey
Copy link
Author

joey commented Oct 27, 2011

The current behavior is you only read back the contents of the first file.

@rangadi
Copy link
Contributor

rangadi commented Oct 28, 2011

interesting. If lzop supports it, we should definitely look at it.

One complication is supporting splitting. Currently we always expect the header at the front of the file and read the index file to be able to start reading at an arbitrary offset. If we have mutliple concatinate files, we need to know where the lzo header lies for any given offset.

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

No branches or pull requests

3 participants