public class NodeAttributesCLI
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
NodeAttributesCLI.AdminCommandHandler
Admin commands handler.
|
static class |
NodeAttributesCLI.ClientCommandHandler
Client commands handler.
|
static class |
NodeAttributesCLI.CommandHandler
Abstract class for command handler.
|
Modifier and Type | Field and Description |
---|---|
static String |
INVALID_COMMAND_USAGE |
protected static String |
INVALID_MAPPING_ERR_MSG |
protected static String |
MISSING_ARGUMENT |
protected static String |
NO_MAPPING_ERR_MSG |
protected static String |
USAGE_YARN_NODE_ATTRIBUTES |
Constructor and Description |
---|
NodeAttributesCLI() |
Modifier and Type | Method and Description |
---|---|
protected NodeAttributesCLI.AdminCommandHandler |
getAdminCommandHandler() |
protected NodeAttributesCLI.ClientCommandHandler |
getClientCommandHandler() |
static void |
main(String[] args) |
int |
run(String[] args) |
protected void |
setErrOut(PrintStream errOut) |
protected static final String INVALID_MAPPING_ERR_MSG
protected static final String USAGE_YARN_NODE_ATTRIBUTES
protected static final String MISSING_ARGUMENT
protected static final String NO_MAPPING_ERR_MSG
public static final String INVALID_COMMAND_USAGE
protected void setErrOut(PrintStream errOut)
protected NodeAttributesCLI.AdminCommandHandler getAdminCommandHandler()
protected NodeAttributesCLI.ClientCommandHandler getClientCommandHandler()
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.