@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface MiniHadoopCluster
MiniHadoopCluster
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 |
---|---|
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 "hadoopConfiguration"public abstract java.lang.String clusterName
public abstract java.lang.String id
public abstract int nodes