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
|
MAPREDUCE-6366. mapreduce.terasort.final.sync configuration in TeraSort
|
||||||
doesn't work. (Takuya Fukudome via ozawa)
|
doesn't work. (Takuya Fukudome via ozawa)
|
||||||
|
|
||||||
|
MAPREDUCE-5708. Duplicate String.format in YarnOutputFiles.getSpillFileForWrite.
|
||||||
|
(Konstantin Weitz via devaraj)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -157,8 +157,8 @@ public Path getSpillFile(int spillNumber) throws IOException {
|
|||||||
public Path getSpillFileForWrite(int spillNumber, long size)
|
public Path getSpillFileForWrite(int spillNumber, long size)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
return lDirAlloc.getLocalPathForWrite(
|
return lDirAlloc.getLocalPathForWrite(
|
||||||
String.format(String.format(SPILL_FILE_PATTERN,
|
String.format(SPILL_FILE_PATTERN,
|
||||||
conf.get(JobContext.TASK_ATTEMPT_ID), spillNumber)), size, conf);
|
conf.get(JobContext.TASK_ATTEMPT_ID), spillNumber), size, conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user