YARN-1351. Invalid string format in Fair Scheduler log warn message (Konstantin Weitz via Sandy Ryza)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1558597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
51a9755794
commit
7274b5ff93
|
@ -340,6 +340,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
YARN-1601. 3rd party JARs are missing from hadoop-dist output. (tucu)
|
YARN-1601. 3rd party JARs are missing from hadoop-dist output. (tucu)
|
||||||
|
|
||||||
|
YARN-1351. Invalid string format in Fair Scheduler log warn message
|
||||||
|
(Konstantin Weitz via Sandy Ryza)
|
||||||
|
|
||||||
Release 2.3.0 - UNRELEASED
|
Release 2.3.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -387,7 +387,7 @@ public class AllocationFileLoaderService extends AbstractService {
|
||||||
if (maxQueueResources.containsKey(queueName) && minQueueResources.containsKey(queueName)
|
if (maxQueueResources.containsKey(queueName) && minQueueResources.containsKey(queueName)
|
||||||
&& !Resources.fitsIn(minQueueResources.get(queueName),
|
&& !Resources.fitsIn(minQueueResources.get(queueName),
|
||||||
maxQueueResources.get(queueName))) {
|
maxQueueResources.get(queueName))) {
|
||||||
LOG.warn(String.format("Queue %s has max resources %d less than min resources %d",
|
LOG.warn(String.format("Queue %s has max resources %s less than min resources %s",
|
||||||
queueName, maxQueueResources.get(queueName), minQueueResources.get(queueName)));
|
queueName, maxQueueResources.get(queueName), minQueueResources.get(queueName)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue