public final class NodeLabelsUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Set<String> |
convertToStringSet(Set<org.apache.hadoop.yarn.api.records.NodeLabel> nodeLabels) |
static void |
verifyCentralizedNodeLabelConfEnabled(String operation,
boolean isCentralizedNodeLabelConfiguration) |
public static Set<String> convertToStringSet(Set<org.apache.hadoop.yarn.api.records.NodeLabel> nodeLabels)
public static void verifyCentralizedNodeLabelConfEnabled(String operation, boolean isCentralizedNodeLabelConfiguration) throws IOException
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.