From 9c6e093783b85e5b9c6590e77d46036630e567f1 Mon Sep 17 00:00:00 2001 From: Szilard Nemeth Date: Tue, 12 Jan 2021 15:21:27 +0100 Subject: [PATCH] YARN-10570. Remove experimental warning message from fs2cs. Contributed by Peter Bacsko --- .../fair/converter/FSConfigToCSConfigConverter.java | 6 ------ 1 file changed, 6 deletions(-) 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/converter/FSConfigToCSConfigConverter.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/converter/FSConfigToCSConfigConverter.java index af896570f2..efd7a81e09 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/converter/FSConfigToCSConfigConverter.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/converter/FSConfigToCSConfigConverter.java @@ -78,10 +78,6 @@ public class FSConfigToCSConfigConverter { private static final String FAIR_SCHEDULER_XML = "fair-scheduler.xml"; - public static final String WARNING_TEXT = - "WARNING: This feature is experimental and not intended " + - "for production use!"; - private Resource clusterResource; private boolean preemptionEnabled = false; private int queueMaxAppsDefault; @@ -225,8 +221,6 @@ private void handleFairSchedulerConfig( @VisibleForTesting void convert(Configuration inputYarnSiteConfig) throws Exception { - System.out.println(WARNING_TEXT); - // initialize Fair Scheduler RMContext ctx = new RMContextImpl(); PlacementManager placementManager = new PlacementManager();