Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0
-
Direct Bytebuffer decompressors for Zlib (Deflate & Gzip) and Snappy
Description
With the Zero-Copy reads in HDFS (HDFS-5260), it becomes important to perform all I/O operations without copying data into byte[] buffers or other buffers which wrap over them.
This is a proposal for adding a DirectDecompressor interface to the io.compress, to indicate codecs which want to surface the direct buffer layer upwards.
The implementation should work with direct heap/mmap buffers and cannot assume .array() availability.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-6347 ZeroCopy read path for ORC RecordReader
- Resolved
- is related to
-
HADOOP-10116 fix "inconsistent synchronization" warnings in ZlibCompressor
- Resolved
-
HADOOP-8148 Zero-copy ByteBuffer-based compressor / decompressor API
- Open