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

View File

@ -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();