org.springframework.yarn.config.annotation.configurers
Class DefaultLocalResourcesHdfsConfigurer
java.lang.Object
org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder>
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
| 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 |
DefaultLocalResourcesHdfsConfigurer
public DefaultLocalResourcesHdfsConfigurer()
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