MAPREDUCE-6100. replace mapreduce.job.credentials.binary with MRJobConfig.MAPREDUCE_JOB_CREDENTIALS_BINARY for better readability. Contributed by Zhihai Xu.

This commit is contained in:
Harsh J 2015-03-17 11:06:35 +05:30
parent 046521cd65
commit f222bde273
2 changed files with 5 additions and 1 deletions

View File

@ -253,6 +253,10 @@ Release 2.8.0 - UNRELEASED
IMPROVEMENTS
MAPREDUCE-6100. replace "mapreduce.job.credentials.binary" with
MRJobConfig.MAPREDUCE_JOB_CREDENTIALS_BINARY for better readability.
(Zhihai Xu via harsh)
MAPREDUCE-6105. Inconsistent configuration in property
mapreduce.reduce.shuffle.merge.percent. (Ray Chiang via harsh)

View File

@ -383,7 +383,7 @@ class JobSubmitter {
throws IOException {
// add tokens and secrets coming from a token storage file
String binaryTokenFilename =
conf.get("mapreduce.job.credentials.binary");
conf.get(MRJobConfig.MAPREDUCE_JOB_CREDENTIALS_BINARY);
if (binaryTokenFilename != null) {
Credentials binary = Credentials.readTokenStorageFile(
FileSystem.getLocal(conf).makeQualified(