Modifier and Type | Constant Field | Value |
---|---|---|
protected static final int |
INITIAL_THREAD_POOL_SIZE |
10 |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
STOP_BEFORE_START_ERROR_MSG |
"Container was killed before it was launched" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
APP |
"app" |
public static final String |
APP_ID |
"appId" |
public static final String |
APPLICATION |
"application" |
public static final String |
APPLICATION_ATTEMPT |
"applicationattempt" |
public static final String |
CHANGE_APPLICATION_QUEUE |
"changeQueue" |
public static final String |
CLUSTER_ID_OPTION |
"clusterId" |
public static final String |
COMPONENT |
"component" |
public static final String |
COMPONENT_INSTS |
"instances" |
public static final String |
COMPONENTS |
"components" |
public static final String |
CONTAINER |
"container" |
public static final String |
DECOMMISSION |
"decommission" |
public static final String |
DESTROY_CMD |
"destroy" |
public static final String |
ENABLE_FAST_LAUNCH |
"enableFastLaunch" |
public static final String |
FLEX_CMD |
"flex" |
public static final String |
LAUNCH_CMD |
"launch" |
public static final String |
SAVE_CMD |
"save" |
public static final String |
SHELL_CMD |
"shell" |
public static final String |
START_CMD |
"start" |
public static final String |
STATES |
"states" |
public static final String |
STOP_CMD |
"stop" |
public static final String |
UPDATE_LIFETIME |
"updateLifetime" |
public static final String |
UPDATE_PRIORITY |
"updatePriority" |
public static final String |
UPGRADE_AUTO_FINALIZE |
"autoFinalize" |
public static final String |
UPGRADE_CANCEL |
"cancel" |
public static final String |
UPGRADE_CMD |
"upgrade" |
public static final String |
UPGRADE_EXPRESS |
"express" |
public static final String |
UPGRADE_FINALIZE |
"finalize" |
public static final String |
UPGRADE_INITIATE |
"initiate" |
public static final String |
VERSION |
"version" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CMD |
"cluster" |
public static final String |
DIRECTLY_ACCESS_NODE_LABEL_STORE |
"directly-access-node-label-store" |
public static final String |
LIST_CLUSTER_ATTRIBUTES |
"list-node-attributes" |
public static final String |
LIST_LABELS_CMD |
"list-node-labels" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
HELP_CMD |
"help" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
INVALID_COMMAND_USAGE |
"Invalid Command Usage : " |
protected static final String |
INVALID_MAPPING_ERR_MSG |
"Invalid Node to attribute mapping : " |
protected static final String |
MISSING_ARGUMENT |
"Missing argument for command" |
protected static final String |
NO_MAPPING_ERR_MSG |
"No node-to-attributes mappings are specified" |
protected static final String |
USAGE_YARN_NODE_ATTRIBUTES |
"Usage: yarn nodeattributes " |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SPLITPATTERN |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALLTAG |
"all" |
public static final String |
QUEUE |
"queue" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
APPLICATION_DELETE_USAGE_EXAMPLE_1 |
"yarn routeradmin -application --delete application_1440536969523_0001" |
protected static final String |
APPLICATION_DELETE_USAGE_EXAMPLE_DESC |
"If we want to delete application_1440536969523_0001." |
protected static final String |
DEREGISTER_SUBCLUSTER_EXAMPLE_1 |
"yarn routeradmin -subCluster -deregisterSubCluster -sc SC-1" |
protected static final String |
DEREGISTER_SUBCLUSTER_EXAMPLE_2 |
"yarn routeradmin -subCluster -deregisterSubCluster --subClusterId SC-1" |
protected static final String |
DEREGISTER_SUBCLUSTER_HELP_INFO |
"deregister subCluster, If the interval between the heartbeat time of the subCluster andthe current time exceeds the timeout period, set the state of the subCluster to SC_LOST." |
protected static final String |
GET_SUBCLUSTER_EXAMPLE |
"yarn routeradmin -subCluster -getSubClusters" |
protected static final String |
POLICY_BATCH_SAVE_USAGE_EXAMPLE_1 |
"yarn routeradmin -policy -bs --format xml -f federation-weights.xml" |
protected static final String |
POLICY_BATCH_SAVE_USAGE_EXAMPLE_2 |
"yarn routeradmin -policy --batch-save --format xml -f federation-weights.xml" |
protected static final String |
POLICY_BATCH_SAVE_USAGE_EXAMPLE_DESC |
"We have two sub-clusters, SC-1 and SC-2. \\We would like to configure weights for \'root.a\' and \'root.b\' queues. \\We can set the weights for \'root.a\' and \'root.b\' in the \'federation-weights.xml\' file. \\and then use the batch-save command to save the configurations in bulk." |
protected static final String |
POLICY_DELETE_USAGE_EXAMPLE_DESC |
"We delete the weight information of root.a. \\We can use --queue to specify the name of the queue." |
protected static final String |
POLICY_DELETE_USAGE_EXAMPLE1 |
"yarn routeradmin -policy -d --queue root.a" |
protected static final String |
POLICY_DELETE_USAGE_EXAMPLE2 |
"yarn routeradmin -policy --delete --queue root.a" |
protected static final String |
POLICY_LIST_USAGE_EXAMPLE_1 |
"yarn routeradmin -policy -l --pageSize 20 --currentPage 1 --queue root.a" |
protected static final String |
POLICY_LIST_USAGE_EXAMPLE_2 |
"yarn routeradmin -policy -list --pageSize 20 --currentPage 1 --queues root.a,root.b" |
protected static final String |
POLICY_LIST_USAGE_EXAMPLE_DESC |
"We can display the list of already configured queue weight information. \\We can use the --queue option to query the weight information for a specific queue \\ or use the --queues option to query the weight information for multiple queues. \\" |
protected static final String |
POLICY_SAVE_USAGE_EXAMPLE_1 |
"yarn routeradmin -policy -s root.a;SC-1:0.7,SC-2:0.3;SC-1:0.6,SC-2:0.4;1.0" |
protected static final String |
POLICY_SAVE_USAGE_EXAMPLE_2 |
"yarn routeradmin -policy --save root.a;SC-1:0.7,SC-2:0.3;SC-1:0.6,SC-2:0.4;1.0" |
protected static final String |
POLICY_SAVE_USAGE_EXAMPLE_DESC |
"We have two sub-clusters, SC-1 and SC-2. \\We want to configure a weight policy for the \'root.a\' queue. \\The Router Weight is set to SC-1 with a weight of 0.7 and SC-2 with a weight of 0.3. \\The AMRM Weight is set SC-1 to 0.6 and SC-2 to 0.4. \\We are using the default value of 0.1 for headroomalpha." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FAIL_CMD |
"fail" |
public static final String |
HELP_CMD |
"help" |
public static final String |
KILL_CMD |
"kill" |
public static final String |
LIST_CMD |
"list" |
public static final String |
MOVE_TO_QUEUE_CMD |
"movetoqueue" |
public static final String |
OPTION_SUBCLUSTERID |
"subClusterId" |
public static final String |
SIGNAL_CMD |
"signal" |
public static final String |
STATUS_CMD |
"status" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
NO_LABEL_ERR_MSG |
"No cluster node-labels are specified" |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.