public static class NodeAttributesCLI.AdminCommandHandler extends NodeAttributesCLI.CommandHandler
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.cli.Options |
buildOptions() |
protected org.apache.hadoop.yarn.server.api.ResourceManagerAdministrationProtocol |
createAdminProtocol() |
int |
handleCommand(org.apache.commons.cli.CommandLine cliParser) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
addOrder, canHandleCommand, getHelp, getHelp, getOptionspublic org.apache.commons.cli.Options buildOptions()
buildOptions in class NodeAttributesCLI.CommandHandlerprotected org.apache.hadoop.yarn.server.api.ResourceManagerAdministrationProtocol createAdminProtocol()
throws IOException
IOExceptionpublic int handleCommand(org.apache.commons.cli.CommandLine cliParser)
throws IOException,
org.apache.hadoop.yarn.exceptions.YarnException
handleCommand in class NodeAttributesCLI.CommandHandlerIOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.conf.ConfiguredCopyright © 2008–2022 Apache Software Foundation. All rights reserved.