YARN-7508. NPE in FiCaSchedulerApp when debug log enabled in async-scheduling mode. Contributed by Tao Yang.
This commit is contained in:
parent
783a01eb4a
commit
b26e30ab16
|
@ -439,9 +439,9 @@ public class FiCaSchedulerApp extends SchedulerApplicationAttempt {
|
|||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Try to re-reserve a container, but node "
|
||||
+ schedulerContainer.getSchedulerNode()
|
||||
+ " is already reserved by another container"
|
||||
+ " is already reserved by another container="
|
||||
+ schedulerContainer.getSchedulerNode()
|
||||
.getReservedContainer().getContainerId());
|
||||
.getReservedContainer());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue