and all its subprojects:
Switch to Threaded View
Hadoop, mail # user - How to find compression codec
How to find compression codec
Mohit Anchlia 2012-06-25, 22:25
Is there a way to look at the sequence file or a block report to see which
compression is being used?
Re: How to find compression codec
Harsh J 2012-06-26, 06:04
The codec classname is serialized into a sequence file itself.
You can detect the codec of a SequenceFile, using its Reader:
Or non-programmatically by viewing the header of the file (cat first
hundred bytes or so), and finding the pattern
"org.apache.hadoop.io.compress" in the stream printed.
On Tue, Jun 26, 2012 at 3:55 AM, Mohit Anchlia <[EMAIL PROTECTED]> wrote:
> Is there a way to look at the sequence file or a block report to see which
> compression is being used?
All projects made searchable here are trademarks of the Apache Software Foundation. Service operated by