YARN-10797. Logging parameter issues in scheduler package. Contributed by Szilard Nemeth
This commit is contained in:
parent
b38b00e528
commit
e9339aa376
@ -140,7 +140,7 @@ public void editSchedule() {
|
||||
LOG.error("Can't refresh queue: " + e);
|
||||
if (!lastReloadAttemptFailed) {
|
||||
LOG.error("Failed to reload capacity scheduler config file - " +
|
||||
"will use existing conf.", e.getMessage());
|
||||
"will use existing conf. Message: {}", e.getMessage());
|
||||
}
|
||||
lastReloadAttempt = clock.getTime();
|
||||
lastReloadAttemptFailed = true;
|
||||
|
@ -1200,7 +1200,7 @@ public boolean moveReservation(RMContainer reservedContainer,
|
||||
targetNode.reserveResource(this,
|
||||
reservedContainer.getReservedSchedulerKey(), reservedContainer);
|
||||
} catch (IllegalStateException e) {
|
||||
LOG.debug("Reserve on target node failed, e={}", e);
|
||||
LOG.debug("Reserve on target node failed", e);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user