org.springframework.yarn.config.annotation.configurers
Class DefaultLocalResourcesHdfsConfigurer

java.lang.Object
  extended by org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder>
      extended by org.springframework.yarn.config.annotation.configurers.DefaultLocalResourcesHdfsConfigurer
All Implemented Interfaces:
org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurer<ResourceLocalizer,YarnResourceLocalizerBuilder>, org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder<YarnResourceLocalizerConfigurer>, LocalResourcesHdfsConfigurer

public class DefaultLocalResourcesHdfsConfigurer
extends org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder>
implements LocalResourcesHdfsConfigurer


Constructor Summary
DefaultLocalResourcesHdfsConfigurer()
           
 
Method Summary
 void configure(YarnResourceLocalizerBuilder builder)
           
 LocalResourcesHdfsConfigurer hdfs(String path)
           
 LocalResourcesHdfsConfigurer hdfs(String path, LocalResourceType type)
           
 LocalResourcesHdfsConfigurer hdfs(String path, LocalResourceType type, boolean staging)
           
 LocalResourcesHdfsConfigurer hdfs(String dir, String file)
           
 LocalResourcesHdfsConfigurer hdfs(String dir, String file, LocalResourceType type)
           
 
Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder
and
 

Constructor Detail

DefaultLocalResourcesHdfsConfigurer

public DefaultLocalResourcesHdfsConfigurer()
Method Detail

configure

public void configure(YarnResourceLocalizerBuilder builder)
               throws Exception
Specified by:
configure in interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurer<ResourceLocalizer,YarnResourceLocalizerBuilder>
Overrides:
configure in class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder>
Throws:
Exception

hdfs

public LocalResourcesHdfsConfigurer hdfs(String path)
Specified by:
hdfs in interface LocalResourcesHdfsConfigurer

hdfs

public LocalResourcesHdfsConfigurer hdfs(String dir,
                                         String file)
Specified by:
hdfs in interface LocalResourcesHdfsConfigurer

hdfs

public LocalResourcesHdfsConfigurer hdfs(String path,
                                         LocalResourceType type)
Specified by:
hdfs in interface LocalResourcesHdfsConfigurer

hdfs

public LocalResourcesHdfsConfigurer hdfs(String path,
                                         LocalResourceType type,
                                         boolean staging)
Specified by:
hdfs in interface LocalResourcesHdfsConfigurer

hdfs

public LocalResourcesHdfsConfigurer hdfs(String dir,
                                         String file,
                                         LocalResourceType type)
Specified by:
hdfs in interface LocalResourcesHdfsConfigurer