public abstract class ClientCommand extends Object
Modifier and Type | Field and Description |
---|---|
protected CommandLineOptions |
opts |
Constructor and Description |
---|
ClientCommand() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.yarn.api.records.ApplicationId |
checkAppId() |
protected static File |
getAppIdFile()
Return the path to the app id file.
|
protected YarnRMClient |
getClient() |
protected String |
loadAppId(File appIdFile) |
protected void |
removeAppIdFile() |
abstract void |
run() |
void |
setOpts(CommandLineOptions opts) |
protected CommandLineOptions opts
public void setOpts(CommandLineOptions opts)
public abstract void run() throws ClientException
ClientException
protected static File getAppIdFile()
protected org.apache.hadoop.yarn.api.records.ApplicationId checkAppId() throws ClientException
ClientException
protected YarnRMClient getClient() throws ClientException
ClientException
protected void removeAppIdFile()
Copyright © 1970 The Apache Software Foundation. All rights reserved.