public interface YarnCluster
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the
Configuration for the cluster. |
java.io.File |
getYarnWorkDir()
Gets the working directory of Yarn nodes.
|
void |
start()
Starts the cluster.
|
void |
stop()
Stops the cluster.
|
org.apache.hadoop.conf.Configuration getConfiguration()
Configuration for the cluster.
As most of the configuration parameters are not
known until after cluster has been started, this
configuration should be configured by the
cluster itself.Configurationvoid start()
throws java.lang.Exception
java.lang.Exception - if cluster failed to startvoid stop()
java.io.File getYarnWorkDir()