From 9aae81c93421874b726c7b6ff970895c429e502d 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. --- 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 7161dc36fc..bb145eb742 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -298,6 +298,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 3ade7f73d3..a9a459f95e 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 @@ synchronized public void updateResourceRequests( // Similarly, deactivate application? if (request.getNumContainers() <= 0) { - LOG.info("checking for deactivate... "); + LOG.info("checking for deactivate of application :" + + this.applicationId); checkForDeactivation(); }