public interface HadoopCluster
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the
Configuration for the cluster. |
org.apache.hadoop.fs.FileSystem |
getFileSystem()
Gets the configured
FileSystem managed
by HadoopCluster. |
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()
org.apache.hadoop.fs.FileSystem getFileSystem()
throws java.io.IOException
FileSystem managed
by HadoopCluster.java.io.IOException - if error occured