Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.0
-
Reviewed
Description
From following code, seems "io.compression.codec.lzo.class" does not work for other codec besides default. Hadoop will always treat it as defaultClazz. I think it is a bug. Please let me know if this is a work as design thing. Thanks
77 private static final String defaultClazz =
78 "org.apache.hadoop.io.compress.LzoCodec";
82 public synchronized boolean isSupported() {
83 if (!checked) {
84 checked = true;
85 String extClazz =
86 (conf.get(CONF_LZO_CLASS) == null ? System
87 .getProperty(CONF_LZO_CLASS) : null);
88 String clazz = (extClazz != null) ? extClazz : defaultClazz;
Attachments
Attachments
Issue Links
- blocks
-
PIG-4341 Add CMX support to pig.tmpfilecompression.codec
-
- Open
-