public class Client extends BaseClient
| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameters(com.google.common.collect.ImmutableMap.Builder<String,String> env) |
protected void |
addResources(com.google.common.collect.ImmutableMap.Builder<String,org.apache.hadoop.yarn.api.records.LocalResource> resources) |
protected boolean |
checkUsage(String[] args) |
protected void |
cleanup() |
protected void |
configure(String[] args) |
protected String |
getAppMasterClass() |
protected String |
getJarPath() |
static void |
main(String[] args) |
protected void |
prepare() |
getResource, run, uploadTempFileprotected void configure(String[] args)
configure in class BaseClientprotected void cleanup()
throws IOException
cleanup in class BaseClientIOExceptionprotected void prepare()
throws IOException
prepare in class BaseClientIOExceptionprotected boolean checkUsage(String[] args)
checkUsage in class BaseClientprotected void addParameters(com.google.common.collect.ImmutableMap.Builder<String,String> env)
addParameters in class BaseClientprotected void addResources(com.google.common.collect.ImmutableMap.Builder<String,org.apache.hadoop.yarn.api.records.LocalResource> resources) throws IOException
addResources in class BaseClientIOExceptionprotected String getAppMasterClass()
getAppMasterClass in class BaseClientprotected String getJarPath()
getJarPath in class BaseClientCopyright © 2017. All rights reserved.