Spring for Apache Hadoop

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:
org.springframework.beans.factory.InitializingBean, YarnClient

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
 java.util.Map<java.lang.String,java.lang.String> getEnvironment()
          Gets the environment variables.
 
Methods inherited from class org.springframework.yarn.client.AbstractYarnClient
afterPropertiesSet, getApplicationReport, getClientRmOperations, getConfiguration, getMasterContainerLaunchContext, getStagingPath, getSubmissionContext, killApplication, listApplications, setApplicationDirName, setAppName, setClientRmOperations, setCommands, setConfiguration, setEnvironment, setMemory, setPriority, setQueue, setResourceLocalizer, setStagingDirPath, setUser, setVirtualcores, 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 java.util.Map<java.lang.String,java.lang.String> getEnvironment()
Description copied from class: AbstractYarnClient
Gets the environment variables.

Overrides:
getEnvironment in class AbstractYarnClient
Returns:
the map of environment variables

Spring for Apache Hadoop