Class YarnCLI
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.yarn.client.cli.YarnCLI
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
- Direct Known Subclasses:
ApplicationCLI,ClusterCLI,NodeCLI,QueueCLI,TopCLI
@Private
@Unstable
public abstract class YarnCLI
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected YarnClientstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected PrintStreamprotected PrintStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected YarnClientvoidsetClient(YarnClient client) voidsetSysErrPrintStream(PrintStream syserr) voidsetSysOutPrintStream(PrintStream sysout) voidstop()Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConfMethods inherited from interface org.apache.hadoop.util.Tool
run
-
Field Details
-
STATUS_CMD
- See Also:
-
LIST_CMD
- See Also:
-
KILL_CMD
- See Also:
-
FAIL_CMD
- See Also:
-
MOVE_TO_QUEUE_CMD
- See Also:
-
HELP_CMD
- See Also:
-
SIGNAL_CMD
- See Also:
-
OPTION_SUBCLUSTERID
- See Also:
-
sysout
-
syserr
-
client
-
-
Constructor Details
-
YarnCLI
public YarnCLI()
-
-
Method Details
-
createYarnClient
-
createAndStartYarnClient
protected void createAndStartYarnClient() -
setSysOutPrintStream
-
setSysErrPrintStream
-
getClient
-
setClient
-
stop
public void stop()
-