YARN-10570. Remove experimental warning message from fs2cs. Contributed by Peter Bacsko

This commit is contained in:
Szilard Nemeth 2021-01-12 15:21:27 +01:00
parent 612330661b
commit 9c6e093783
1 changed files with 0 additions and 6 deletions

View File

@ -78,10 +78,6 @@ public class FSConfigToCSConfigConverter {
private static final String FAIR_SCHEDULER_XML = private static final String FAIR_SCHEDULER_XML =
"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 Resource clusterResource;
private boolean preemptionEnabled = false; private boolean preemptionEnabled = false;
private int queueMaxAppsDefault; private int queueMaxAppsDefault;
@ -225,8 +221,6 @@ public class FSConfigToCSConfigConverter {
@VisibleForTesting @VisibleForTesting
void convert(Configuration inputYarnSiteConfig) throws Exception { void convert(Configuration inputYarnSiteConfig) throws Exception {
System.out.println(WARNING_TEXT);
// initialize Fair Scheduler // initialize Fair Scheduler
RMContext ctx = new RMContextImpl(); RMContext ctx = new RMContextImpl();
PlacementManager placementManager = new PlacementManager(); PlacementManager placementManager = new PlacementManager();