-ConfigKeys wrappers for MapReduce source code base
Jay Vyas 2013-04-21, 19:29
A breif check wiht "find ./ -name *ConfigKeys*" doesn't seem to indicate
that there is a "MapRedConfigKeys" class... Should there be one to help get
rid of magic numbers and unify the namespace? This seems to be the goal of
the DFSConfigKeys class in the HDFS source tree.
... Or are there differences in the way configuration values are handled in
mapred versus hdfs code bases ?
For example :
"job.getInt(JobContext.IO_SORT_FACTOR, 100)" in the ReduceTask class would
more typically be implemented (if in hdfs) using the DFSConfigKeys static
class which stores defaults and configuration parameter names.
Just curious wether there is any goal to take the Mapred configuration
values and unify their namespace in mapred/common in the same way that
seems to have been done in hdfs using the DFSConfigKeys class.
Sandy Ryza 2013-04-22, 06:05