MAPREDUCE-5708. Duplicate String.format in
YarnOutputFiles.getSpillFileForWrite. Contributed by Konstantin Weitz.
This commit is contained in:
parent
def9136e02
commit
05ff54c66c
@ -422,6 +422,9 @@ Release 2.8.0 - UNRELEASED
|
||||
MAPREDUCE-6366. mapreduce.terasort.final.sync configuration in TeraSort
|
||||
doesn't work. (Takuya Fukudome via ozawa)
|
||||
|
||||
MAPREDUCE-5708. Duplicate String.format in YarnOutputFiles.getSpillFileForWrite.
|
||||
(Konstantin Weitz via devaraj)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -157,8 +157,8 @@ public Path getSpillFile(int spillNumber) throws IOException {
|
||||
public Path getSpillFileForWrite(int spillNumber, long size)
|
||||
throws IOException {
|
||||
return lDirAlloc.getLocalPathForWrite(
|
||||
String.format(String.format(SPILL_FILE_PATTERN,
|
||||
conf.get(JobContext.TASK_ATTEMPT_ID), spillNumber)), size, conf);
|
||||
String.format(SPILL_FILE_PATTERN,
|
||||
conf.get(JobContext.TASK_ATTEMPT_ID), spillNumber), size, conf);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user