hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@yahoo-inc.com>
Subject Re: why SequenceFile cannot run without native GZipCodec?
Date Sun, 05 Apr 2009 18:33:37 GMT

On Apr 4, 2009, at 7:05 AM, Zheng Shao wrote:

> I guess the performance will be bad, but we should still be able to  
> read/write the file. Correct?
>
> Why do we throw an Exception?
>

java.util.zip.GzipCodec doesn't expose the underlying codec... that's  
critical to do a *reset*. The native  
org.apache.hadoop.io.compress.GzipCodec _does_ expose the 'reset'  
functionality and hence is the only viable option.

Arun

Mime
View raw message