|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnvironmentClasspathConfigurer
AnnotationConfigurerBuilder
for configuring classpath environment variable.
Typically configuration is shown below.
@Configuration @EnableYarn(enable=Enable.APPMASTER) static class Config extends SpringYarnConfigurerAdapter { @Override public void configure(YarnEnvironmentConfigurer environment) throws Exception { environment .withClasspath() .includeBaseDirectory(true) .useDefaultYarnClasspath(true) .defaultYarnAppClasspath("my:cp:entries") .delimiter(":") .entries("entry1", "entry2") .entry("entry3"); } }
Method Summary | |
---|---|
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(java.lang.String... defaultClasspath)
Specify a default yarn application classpath entries. |
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(java.lang.String defaultClasspath)
Specify a default yarn application classpath. |
EnvironmentClasspathConfigurer |
delimiter(java.lang.String delimiter)
Specify a delimiter used in a classpath. |
EnvironmentClasspathConfigurer |
entries(java.util.List<java.lang.String> entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entries(java.lang.String... entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entry(java.lang.String entry)
Specify a new classpath entry. |
EnvironmentClasspathConfigurer |
includeBaseDirectory(boolean includeBaseDirectory)
Specify if base directory should be added in classpath. |
EnvironmentClasspathConfigurer |
useDefaultYarnClasspath(boolean useDefaultClasspath)
Specify if default yarn classpath entries should be added. |
Methods inherited from interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder |
---|
and |
Method Detail |
---|
EnvironmentClasspathConfigurer entry(java.lang.String entry)
entry
- the classpath entry
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer entries(java.lang.String... entries)
entries
- the classpath entries
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer entries(java.util.List<java.lang.String> entries)
entries
- the classpath entries
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer useDefaultYarnClasspath(boolean useDefaultClasspath)
useDefaultClasspath
- the use default classpath
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer defaultYarnAppClasspath(java.lang.String defaultClasspath)
defaultClasspath
- the default classpath
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer defaultYarnAppClasspath(java.lang.String... defaultClasspath)
defaultClasspath
- the default classpath entries.
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer includeBaseDirectory(boolean includeBaseDirectory)
includeBaseDirectory
- the include base directory
EnvironmentClasspathConfigurer
for chainingEnvironmentClasspathConfigurer delimiter(java.lang.String delimiter)
delimiter
- the delimiter
EnvironmentClasspathConfigurer
for chaining
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |