MAPREDUCE-7379. RMContainerRequestor#makeRemoteRequest has confusing log message. Contributed by Ashutosh Gupta

This commit is contained in:
Szilard Nemeth 2022-05-11 16:55:19 +02:00
parent eeedc0c7e4
commit f143e99428
1 changed files with 4 additions and 6 deletions

View File

@ -213,12 +213,10 @@ public abstract class RMContainerRequestor extends RMCommunicator {
allocateResponse.getCompletedContainersStatuses().size();
if (ask.size() > 0 || release.size() > 0) {
LOG.info("getResources() for " + applicationId + ":" + " ask="
+ ask.size() + " release= " + release.size() + " newContainers="
+ allocateResponse.getAllocatedContainers().size()
+ " finishedContainers=" + numCompletedContainers
+ " resourcelimit=" + availableResources + " knownNMs="
+ clusterNmCount);
LOG.info("applicationId={}: ask={} release={} newContainers={} finishedContainers={}"
+ " resourceLimit={} knownNMs={}", applicationId, ask.size(), release.size(),
allocateResponse.getAllocatedContainers().size(), numCompletedContainers,
availableResources, clusterNmCount);
}
ask.clear();