Description
CodecFactory specify the list of codec that are supported by Hadoop. However, it returns a codec only by a file's name. I would like to make getCodec method to alternatively take a codec's class name.
This is required by HDFS-1435, where
1. it allows an HDFS admin to configure which codec to use to save an image.
2. It stores the codec class name in its on-disk image instead of a file's suffix.
When saving and reading an image, I'd like to get an codec from CodecFactory by its class name.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-1435 Provide an option to store fsimage compressed
- Closed