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:
parent
046521cd65
commit
f222bde273
@ -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)
|
||||
|
||||
|
@ -383,7 +383,7 @@ private void readTokensFromFiles(Configuration conf, Credentials credentials)
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user