@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.| Modifier and Type | Optional Element and Description |
|---|---|
String |
clusterName
Value defining a name used to set the
cluster bean.
|
String |
configName
Value defining a name used to set
Configuration
bean based on mini cluster runtime config. |
String |
id
Unique id for the cluster.
|
int |
nodes
Number of nodes for the cluster.
|
public abstract String configName
Configuration
bean based on mini cluster runtime config.
Default is "yarnConfiguration"public abstract String clusterName
public abstract String id
public abstract int nodes