YARN-4710. Reduce logging application reserved debug info in FSAppAttempt#assignContainer (Contributed by Yiqun Lin via Daniel Templeton)

This commit is contained in:
Daniel Templeton 2016-10-27 14:35:38 -07:00
parent 9449519a25
commit b98fc8249f
1 changed files with 2 additions and 2 deletions

View File

@ -771,8 +771,8 @@ public class FSAppAttempt extends SchedulerApplicationAttempt
} }
private Resource assignContainer(FSSchedulerNode node, boolean reserved) { private Resource assignContainer(FSSchedulerNode node, boolean reserved) {
if (LOG.isDebugEnabled()) { if (LOG.isTraceEnabled()) {
LOG.debug("Node offered to app: " + getName() + " reserved: " + reserved); LOG.trace("Node offered to app: " + getName() + " reserved: " + reserved);
} }
Collection<SchedulerRequestKey> keysToTry = (reserved) ? Collection<SchedulerRequestKey> keysToTry = (reserved) ?