public class CommandYarnClient extends AbstractYarnClient
AbstractYarnClient
.Constructor and Description |
---|
CommandYarnClient(ClientRmOperations clientRmOperations)
Constructs a default client with a given template.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
Gets the environment variables.
|
afterPropertiesSet, getApplicationReport, getClientRmOperations, getConfiguration, getMasterContainerLaunchContext, getStagingPath, getSubmissionContext, installApplication, killApplication, listApplications, listApplications, listRunningApplications, setApplicationDirName, setAppName, setAppType, setClientRmOperations, setCommands, setConfiguration, setEnvironment, setMemory, setPriority, setQueue, setResourceLocalizer, setStagingDirPath, setVirtualcores, submitApplication, submitApplication
public CommandYarnClient(ClientRmOperations clientRmOperations)
clientRmOperations
- the client to resource manager templatepublic java.util.Map<java.lang.String,java.lang.String> getEnvironment()
AbstractYarnClient
getEnvironment
in class AbstractYarnClient