public static class NodeAttributesCLI.ClientCommandHandler extends NodeAttributesCLI.CommandHandler
Modifier and Type | Field and Description |
---|---|
static String |
SPLITPATTERN |
Constructor and Description |
---|
ClientCommandHandler() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.cli.Options |
buildOptions() |
protected org.apache.hadoop.yarn.api.ApplicationClientProtocol |
createApplicationProtocol() |
int |
handleCommand(org.apache.commons.cli.CommandLine parse) |
int |
printNodesByAttributes(String[] attrs) |
void |
setSysOut(PrintStream out) |
addOrder, canHandleCommand, getHelp, getHelp, getOptions
public static final String SPLITPATTERN
public void setSysOut(PrintStream out)
public int handleCommand(org.apache.commons.cli.CommandLine parse) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
handleCommand
in class NodeAttributesCLI.CommandHandler
IOException
org.apache.hadoop.yarn.exceptions.YarnException
protected org.apache.hadoop.yarn.api.ApplicationClientProtocol createApplicationProtocol() throws IOException
IOException
public int printNodesByAttributes(String[] attrs) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnException
IOException
public org.apache.commons.cli.Options buildOptions()
buildOptions
in class NodeAttributesCLI.CommandHandler
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.