From ff31d8aefa0490ccf1d44fe8a738fdc002aa712c Mon Sep 17 00:00:00 2001 From: Yufei Gu Date: Mon, 12 Mar 2018 16:35:18 -0700 Subject: [PATCH] YARN-8024. LOG in class MaxRunningAppsEnforcer is initialized with a faulty class. Contributed by Sen Zhao. --- .../resourcemanager/scheduler/fair/MaxRunningAppsEnforcer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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/MaxRunningAppsEnforcer.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/MaxRunningAppsEnforcer.java index 02e2d97aaf3..3f1ad0de174 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/MaxRunningAppsEnforcer.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/MaxRunningAppsEnforcer.java @@ -37,7 +37,8 @@ import org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicat * constraints */ public class MaxRunningAppsEnforcer { - private static final Log LOG = LogFactory.getLog(FairScheduler.class); + private static final Log LOG = LogFactory.getLog( + MaxRunningAppsEnforcer.class); private final FairScheduler scheduler;