Re: How to find compression codec

2012-06-25 Thread Harsh J
The codec classname is serialized into a sequence file itself. You can detect the codec of a SequenceFile, using its Reader: http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/io/SequenceFile.Reader.html#getCompressionCodec() Or non-programmatically by viewing the header of the fi

How to find compression codec

2012-06-25 Thread Mohit Anchlia
Is there a way to look at the sequence file or a block report to see which compression is being used?