Spring for Apache Hadoop

org.springframework.yarn.config.annotation
Class SpringYarnConfigs

java.lang.Object
  extended by org.springframework.yarn.config.annotation.SpringYarnConfigs

public class SpringYarnConfigs
extends java.lang.Object

A holder object for all configured configs for Spring Yarn.

Author:
Janne Valkealahti

Constructor Summary
SpringYarnConfigs()
          Instantiates a new spring yarn configs.
SpringYarnConfigs(org.apache.hadoop.conf.Configuration configuration, ResourceLocalizer localizer, java.util.Map<java.lang.String,java.lang.String> environment)
          Instantiates a new spring yarn configs.
 
Method Summary
 org.apache.hadoop.conf.Configuration getConfiguration()
           
 java.util.Map<java.lang.String,java.lang.String> getEnvironment()
           
 ResourceLocalizer getLocalizer()
           
 YarnAppmaster getYarnAppmaster()
           
 YarnClient getYarnClient()
           
 YarnContainer getYarnContainer()
           
 void setConfiguration(org.apache.hadoop.conf.Configuration configuration)
           
 void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)
           
 void setLocalizer(ResourceLocalizer localizer)
           
 void setYarnAppmaster(YarnAppmaster yarnAppmaster)
           
 void setYarnClient(YarnClient yarnClient)
           
 void setYarnContainer(YarnContainer yarnContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringYarnConfigs

public SpringYarnConfigs()
Instantiates a new spring yarn configs.


SpringYarnConfigs

public SpringYarnConfigs(org.apache.hadoop.conf.Configuration configuration,
                         ResourceLocalizer localizer,
                         java.util.Map<java.lang.String,java.lang.String> environment)
Instantiates a new spring yarn configs.

Parameters:
configuration - the configuration
localizer - the localizer
environment - the environment
Method Detail

getConfiguration

public org.apache.hadoop.conf.Configuration getConfiguration()

setConfiguration

public void setConfiguration(org.apache.hadoop.conf.Configuration configuration)

getLocalizer

public ResourceLocalizer getLocalizer()

setLocalizer

public void setLocalizer(ResourceLocalizer localizer)

getEnvironment

public java.util.Map<java.lang.String,java.lang.String> getEnvironment()

setEnvironment

public void setEnvironment(java.util.Map<java.lang.String,java.lang.String> environment)

getYarnClient

public YarnClient getYarnClient()

setYarnClient

public void setYarnClient(YarnClient yarnClient)

getYarnAppmaster

public YarnAppmaster getYarnAppmaster()

setYarnAppmaster

public void setYarnAppmaster(YarnAppmaster yarnAppmaster)

getYarnContainer

public YarnContainer getYarnContainer()

setYarnContainer

public void setYarnContainer(YarnContainer yarnContainer)

Spring for Apache Hadoop