@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class YarnCLI extends Configured implements Tool
Modifier and Type | Field and Description |
---|---|
protected YarnClient |
client |
static String |
HELP_CMD |
static String |
KILL_CMD |
static String |
LIST_CMD |
static String |
STATUS_CMD |
protected PrintStream |
syserr |
protected PrintStream |
sysout |
Constructor and Description |
---|
YarnCLI() |
Modifier and Type | Method and Description |
---|---|
YarnClient |
getClient() |
void |
setClient(YarnClient client) |
void |
setSysErrPrintStream(PrintStream syserr) |
void |
setSysOutPrintStream(PrintStream sysout) |
void |
stop() |
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public static final String STATUS_CMD
public static final String LIST_CMD
public static final String KILL_CMD
public static final String HELP_CMD
protected PrintStream sysout
protected PrintStream syserr
protected YarnClient client
public void setSysOutPrintStream(PrintStream sysout)
public void setSysErrPrintStream(PrintStream syserr)
public YarnClient getClient()
public void setClient(YarnClient client)
public void stop()
Copyright © 2013 Apache Software Foundation. All rights reserved.