org.apache.hadoop.yarn.client.cli
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, NodeCLI
@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract class YarnCLI
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.util.Tool |
run |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
STATUS_CMD
public static final String STATUS_CMD
- See Also:
- Constant Field Values
LIST_CMD
public static final String LIST_CMD
- See Also:
- Constant Field Values
KILL_CMD
public static final String KILL_CMD
- See Also:
- Constant Field Values
HELP_CMD
public static final String HELP_CMD
- See Also:
- Constant Field Values
sysout
protected PrintStream sysout
syserr
protected PrintStream syserr
client
protected YarnClient client
YarnCLI
public YarnCLI()
setSysOutPrintStream
public void setSysOutPrintStream(PrintStream sysout)
setSysErrPrintStream
public void setSysErrPrintStream(PrintStream syserr)
getClient
public YarnClient getClient()
setClient
public void setClient(YarnClient client)
stop
public void stop()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.