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, getOptions
public org.apache.commons.cli.Options buildOptions()
buildOptions
in class NodeAttributesCLI.CommandHandler
protected org.apache.hadoop.yarn.server.api.ResourceManagerAdministrationProtocol createAdminProtocol() throws IOException
IOException
public int handleCommand(org.apache.commons.cli.CommandLine cliParser) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
handleCommand
in class NodeAttributesCLI.CommandHandler
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class org.apache.hadoop.conf.Configured
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.