Spring for Apache Hadoop

org.springframework.yarn.config.annotation.configuration
Class SpringYarnClientConfiguration

java.lang.Object
  extended by org.springframework.data.hadoop.config.common.annotation.AbstractAnnotationConfiguration<SpringYarnConfigBuilder,SpringYarnConfigs>
      extended by org.springframework.yarn.config.annotation.configuration.SpringYarnConfiguration
          extended by org.springframework.yarn.config.annotation.configuration.SpringYarnClientConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.annotation.ImportAware

@Configuration
public class SpringYarnClientConfiguration
extends SpringYarnConfiguration

Specific configuration extension for YarnClient.

Author:
Janne Valkealahti
See Also:
EnableYarn, SpringYarnConfiguration, YarnClient

Field Summary
 
Fields inherited from class org.springframework.yarn.config.annotation.configuration.SpringYarnConfiguration
builder
 
Constructor Summary
SpringYarnClientConfiguration()
           
 
Method Summary
 YarnClient yarnClient()
           
 
Methods inherited from class org.springframework.yarn.config.annotation.configuration.SpringYarnConfiguration
maySetConfigurationFromContext, onConfigurers, setImportMetadata, yarnConfiguration, yarnEnvironment, yarnEventPublisher, yarnLocalresources
 
Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AbstractAnnotationConfiguration
getAnnotationAttributes, getConfigurers, setBeanClassLoader, setConfigurers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringYarnClientConfiguration

public SpringYarnClientConfiguration()
Method Detail

yarnClient

@Bean(name="yarnClient")
@DependsOn(value="yarnConfiguration")
public YarnClient yarnClient()
                      throws java.lang.Exception
Throws:
java.lang.Exception

Spring for Apache Hadoop