YARN-4669. Fix logging statements in resource manager's Application class. Contributed by Sidharta Seethana.
This commit is contained in:
parent
a6728a013e
commit
22a2b2231d
@ -194,6 +194,9 @@ Release 2.9.0 - UNRELEASED
|
||||
YARN-4594. container-executor fails to remove directory tree when chmod
|
||||
required (Colin Patrick McCabe via jlowe)
|
||||
|
||||
YARN-4669. Fix logging statements in resource manager's Application class.
|
||||
(Seethana Sidharta via vvasudev)
|
||||
|
||||
Release 2.8.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -324,9 +324,13 @@ public synchronized List<Container> getResources() throws IOException {
|
||||
Allocation allocation = resourceManager.getResourceScheduler().allocate(
|
||||
applicationAttemptId, new ArrayList<ResourceRequest>(ask),
|
||||
new ArrayList<ContainerId>(), null, null, null, null);
|
||||
System.out.println("-=======" + applicationAttemptId);
|
||||
System.out.println("----------" + resourceManager.getRMContext().getRMApps()
|
||||
.get(applicationId).getRMAppAttempt(applicationAttemptId));
|
||||
|
||||
if (LOG.isInfoEnabled()) {
|
||||
LOG.info("-=======" + applicationAttemptId + System.lineSeparator() +
|
||||
"----------" + resourceManager.getRMContext().getRMApps()
|
||||
.get(applicationId).getRMAppAttempt(applicationAttemptId));
|
||||
}
|
||||
|
||||
List<Container> containers = allocation.getContainers();
|
||||
|
||||
// Clear state for next interaction with ResourceManager
|
||||
|
Loading…
Reference in New Issue
Block a user