Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
Currently, GzipCodec only supports BuiltInGzipDecompressor, if native zlib is not loaded. So, without Hadoop native codec installed, saving SequenceFile using GzipCodec will throw exception like "SequenceFile doesn't work with GzipCodec without native-hadoop code!"
Same as other codecs which we migrated to using prepared packages (lz4, snappy), it will be better if we support GzipCodec generally without Hadoop native codec installed. Similar to BuiltInGzipDecompressor, we can use Java Deflater to support BuiltInGzipCompressor.
Attachments
Issue Links
- causes
-
HADOOP-17877 BuiltInGzipCompressor header and trailer should not be static variables
- Resolved
- relates to
-
HADOOP-17887 Remove GzipOutputStream
- Resolved
-
HADOOP-17868 Add more test for the BuiltInGzipCompressor
- Resolved
- links to