org.apache.hadoop.conf.Configurablepublic static class NodeAttributesCLI.AdminCommandHandler extends NodeAttributesCLI.CommandHandler
| Modifier and Type | Method | 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 java.io.IOException
java.io.IOExceptionpublic int handleCommand(org.apache.commons.cli.CommandLine cliParser)
throws java.io.IOException,
org.apache.hadoop.yarn.exceptions.YarnException
handleCommand in class NodeAttributesCLI.CommandHandlerjava.io.IOExceptionorg.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–2025 Apache Software Foundation. All rights reserved.