@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class YarnCLI extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
protected YarnClient
client
static String
HELP_CMD
KILL_CMD
LIST_CMD
MOVE_TO_QUEUE_CMD
STATUS_CMD
protected PrintStream
syserr
sysout
YarnCLI()
YarnClient
getClient()
void
setClient(YarnClient client)
setSysErrPrintStream(PrintStream syserr)
setSysOutPrintStream(PrintStream sysout)
stop()
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
public static final String STATUS_CMD
public static final String LIST_CMD
public static final String KILL_CMD
public static final String MOVE_TO_QUEUE_CMD
public static final String HELP_CMD
protected PrintStream sysout
protected PrintStream syserr
protected YarnClient client
public YarnCLI()
public void setSysOutPrintStream(PrintStream sysout)
public void setSysErrPrintStream(PrintStream syserr)
public YarnClient getClient()
public void setClient(YarnClient client)
public void stop()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.