public class DefaultLocalResourcesHdfsConfigurer extends org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder> implements LocalResourcesHdfsConfigurer
| Constructor and Description |
|---|
DefaultLocalResourcesHdfsConfigurer()
Instantiates a new default local resources hdfs configurer.
|
DefaultLocalResourcesHdfsConfigurer(String id)
Instantiates a new default local resources hdfs configurer.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilderpublic DefaultLocalResourcesHdfsConfigurer()
public DefaultLocalResourcesHdfsConfigurer(String id)
id - the identifierpublic void configure(YarnResourceLocalizerBuilder builder) throws Exception
configure in interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurer<ResourceLocalizer,YarnResourceLocalizerBuilder>configure in class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<ResourceLocalizer,YarnResourceLocalizerConfigurer,YarnResourceLocalizerBuilder>Exceptionpublic LocalResourcesHdfsConfigurer hdfs(String path)
hdfs in interface LocalResourcesHdfsConfigurerpublic LocalResourcesHdfsConfigurer hdfs(String dir, String file)
hdfs in interface LocalResourcesHdfsConfigurerpublic LocalResourcesHdfsConfigurer hdfs(String path, LocalResourceType type)
hdfs in interface LocalResourcesHdfsConfigurerpublic LocalResourcesHdfsConfigurer hdfs(String path, LocalResourceType type, boolean staging)
hdfs in interface LocalResourcesHdfsConfigurerpublic LocalResourcesHdfsConfigurer hdfs(String dir, String file, LocalResourceType type)
hdfs in interface LocalResourcesHdfsConfigurer