MAPREDUCE-6100. replace mapreduce.job.credentials.binary with MRJobConfig.MAPREDUCE_JOB_CREDENTIALS_BINARY for better readability. Contributed by Zhihai Xu.
(cherry picked from commit f222bde273
)
This commit is contained in:
parent
cbb8858367
commit
5e403e8b8d
|
@ -8,6 +8,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 @@ 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(
|
||||
|
|
Loading…
Reference in New Issue