Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In Hadoop Common, there are several places where the config keys are used by the literal strings instead of their names as in configuration key classes. The default values have the same issue. For example
in o.a.h.i.f.t.Compression.java
conf.setInt("io.compression.codec.lzo.buffersize", 64 * 1024);
should be
conf.setInt( CommonConfigurationKeys.IO_COMPRESSION_CODEC_LZO_BUFFERSIZE_KEY, CommonConfigurationKeys.IO_COMPRESSION_CODEC_LZO_BUFFERSIZE_DEFAULT);
instead
Attachments
Attachments
Issue Links
- is related to
-
HDFS-10903 Replace config key literal strings with config key names II: hadoop hdfs
- Resolved