org.springframework.yarn.client
Class CommandYarnClient

java.lang.Object
  extended by org.springframework.yarn.client.AbstractYarnClient
      extended by 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

Constructor Summary
CommandYarnClient(ClientRmOperations clientRmOperations)
          Constructs a default client with a given template.
 
Method Summary
 Map<String,String> getEnvironment()
          Gets the environment variables.
 
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
 

Constructor Detail

CommandYarnClient

public CommandYarnClient(ClientRmOperations clientRmOperations)
Constructs a default client with a given template.

Parameters:
clientRmOperations - the client to resource manager template
Method Detail

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