You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sn...@apache.org on 2022/05/11 14:55:40 UTC
[hadoop] branch trunk updated: MAPREDUCE-7379. RMContainerRequestor#makeRemoteRequest has confusing log message. Contributed by Ashutosh Gupta
This is an automated email from the ASF dual-hosted git repository.
snemeth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new f143e994285 MAPREDUCE-7379. RMContainerRequestor#makeRemoteRequest has confusing log message. Contributed by Ashutosh Gupta
f143e994285 is described below
commit f143e994285543e2f1a779274f826f38a78a27be
Author: Szilard Nemeth <sn...@apache.org>
AuthorDate: Wed May 11 16:55:19 2022 +0200
MAPREDUCE-7379. RMContainerRequestor#makeRemoteRequest has confusing log message. Contributed by Ashutosh Gupta
---
.../hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
index 61cc2eb898e..16ca585e9b4 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
@@ -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();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org