|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface MiniYarnCluster
MiniYarnCluster defines class-level metadata that is
used to determine how to load and configure a mini cluster
and inject it into ApplicationContext
for test classes.
| Optional Element Summary | |
|---|---|
java.lang.String |
clusterName
Value defining a name used to set the cluster bean. |
java.lang.String |
configName
Value defining a name used to set Configuration
bean based on mini cluster runtime config. |
java.lang.String |
id
Unique id for the cluster. |
int |
nodes
Number of nodes for the cluster. |
public abstract java.lang.String configName
Configuration
bean based on mini cluster runtime config.
Default is "yarnConfiguration"
public abstract java.lang.String clusterName
public abstract java.lang.String id
public abstract int nodes
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||