Dhruba Borthakur wrote:
The method JobClient.getCommandLineConfig and JobClient.setCommandLineOption
were public APIs but seem to have disappeared starting from the 0.20
release. Is this on purpose? If so, what is the alternative method to
retrieve the job's conf?
thanks
dhruba
Hi Dhruba,
Yes. It is done on purpose through HADOOP-3986. The configuration is
static configuration in JobClient, it is not the Job Configuration. It
was used to parse -libjars, -files and -archives options only, if the
application does not implement Tool as they are part of GenericOptions.
Where do you to want access the Job configuration? If it is in map() or
reduce(), you should use configure() method.
Thanks
Amareshwari