flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trohrm...@apache.org
Subject flink git commit: [hotfix] [yarn] Improve logging of container resources
Date Mon, 12 Mar 2018 17:39:09 GMT
Repository: flink
Updated Branches:
  refs/heads/master 7d837a3e8 -> f7ae309d3


[hotfix] [yarn] Improve logging of container resources


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/f7ae309d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/f7ae309d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/f7ae309d

Branch: refs/heads/master
Commit: f7ae309d3967e61a719fadd8261d515a19ed078e
Parents: 7d837a3
Author: Till Rohrmann <trohrmann@apache.org>
Authored: Mon Mar 12 18:38:03 2018 +0100
Committer: Till Rohrmann <trohrmann@apache.org>
Committed: Mon Mar 12 18:38:57 2018 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/flink/yarn/YarnResourceManager.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/f7ae309d/flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
----------------------------------------------------------------------
diff --git a/flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java b/flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
index 46ef81b..af789ba 100644
--- a/flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
+++ b/flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
@@ -438,7 +438,10 @@ public class YarnResourceManager extends ResourceManager<YarnWorkerNode>
impleme
 		resourceManagerClient.setHeartbeatInterval(FAST_YARN_HEARTBEAT_INTERVAL_MS);
 
 		numPendingContainerRequests++;
-		log.info("Requesting new TaskManager container pending requests: {}", numPendingContainerRequests);
+
+		log.info("Requesting new TaskExecutor container with resources {}. Number pending requests
{}.",
+			resource,
+			numPendingContainerRequests);
 	}
 
 	private ContainerLaunchContext createTaskExecutorLaunchContext(Resource resource, String
containerId, String host)


Mime
View raw message