org.springframework.yarn.client
Class CommandYarnClient
java.lang.Object
org.springframework.yarn.client.AbstractYarnClient
org.springframework.yarn.client.CommandYarnClient
- All Implemented Interfaces:
- InitializingBean, YarnClient
- Direct Known Subclasses:
- DefaultApplicationYarnClient
public class CommandYarnClient
- extends AbstractYarnClient
Default Yarn client utilising functionality in AbstractYarnClient.
- Author:
- Janne Valkealahti
| Methods inherited from class org.springframework.yarn.client.AbstractYarnClient |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandYarnClient
public CommandYarnClient(ClientRmOperations clientRmOperations)
- Constructs a default client with a given template.
- Parameters:
clientRmOperations - the client to resource manager template
getEnvironment
public Map<String,String> getEnvironment()
- Description copied from class:
AbstractYarnClient
- Gets the environment variables.
- Overrides:
getEnvironment in class AbstractYarnClient
- Returns:
- the map of environment variables