From 67e3a77720cfcb0fc540e8e0c80a5d42b8140fcc Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Tue, 17 Feb 2015 01:48:22 +0900 Subject: [PATCH] YARN-1299. Improve a log message in AppSchedulingInfo by adding application id. Contributed by Ashutosh Jindal and devaraj. (cherry picked from commit 9aae81c93421874b726c7b6ff970895c429e502d) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../server/resourcemanager/scheduler/AppSchedulingInfo.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index f6469b19e8c..ff56769d86e 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -262,6 +262,9 @@ Release 2.7.0 - UNRELEASED YARN-3203. Correct a log message in AuxServices. (Brahma Reddy Battula via ozawa) + YARN-1299. Improve a log message in AppSchedulingInfo by adding application + id. (Ashutosh Jindal and devaraj via ozawa) + OPTIMIZATIONS YARN-2990. FairScheduler's delay-scheduling always waits for node-local and diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AppSchedulingInfo.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AppSchedulingInfo.java index 3ade7f73d31..a9a459f95e0 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AppSchedulingInfo.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AppSchedulingInfo.java @@ -176,7 +176,8 @@ public class AppSchedulingInfo { // Similarly, deactivate application? if (request.getNumContainers() <= 0) { - LOG.info("checking for deactivate... "); + LOG.info("checking for deactivate of application :" + + this.applicationId); checkForDeactivation(); }