diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 59f3bbe3524..b5ecb17342f 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -241,6 +241,9 @@ Release 2.4.0 - UNRELEASED token for the right ResourceManager when HA is enabled. (Karthik Kambatla via vinodkv) + YARN-1785. FairScheduler treats app lookup failures as ERRORs. + (bc Wong via kasha) + OPTIMIZATIONS BUG FIXES 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/fair/FairScheduler.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java index dbadd2d10a1..9cc90bc7225 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java @@ -1094,7 +1094,9 @@ public class FairScheduler extends AbstractYarnScheduler { ApplicationAttemptId appAttemptId) { FSSchedulerApp attempt = getSchedulerApp(appAttemptId); if (attempt == null) { - LOG.error("Request for appInfo of unknown attempt" + appAttemptId); + if (LOG.isDebugEnabled()) { + LOG.debug("Request for appInfo of unknown attempt " + appAttemptId); + } return null; } return new SchedulerAppReport(attempt); @@ -1105,7 +1107,9 @@ public class FairScheduler extends AbstractYarnScheduler { ApplicationAttemptId appAttemptId) { FSSchedulerApp attempt = getSchedulerApp(appAttemptId); if (attempt == null) { - LOG.error("Request for appInfo of unknown attempt" + appAttemptId); + if (LOG.isDebugEnabled()) { + LOG.debug("Request for appInfo of unknown attempt " + appAttemptId); + } return null; } return attempt.getResourceUsageReport();