Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
The code responsible for formatting the spill file name (namely getSpillFileForWrite) unnecessarily calls String.format twice. This does not only affect performance, but leads to the weird requirement that task attempt ids cannot contain % characters (because these would be interpreted as format specifiers in the outside String.format call).
I assume this was done by mistake, as it could only be useful if task attempt ids contained %n.