@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 |
MOVE_TO_QUEUE_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, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic 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 void setSysOutPrintStream(PrintStream sysout)
public void setSysErrPrintStream(PrintStream syserr)
public YarnClient getClient()
public void setClient(YarnClient client)
public void stop()
Copyright © 2018 CERN. All Rights Reserved.