|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HadoopCluster
Interface for Hadoop miniclusters.
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Gets the Configuration for the cluster. |
FileSystem |
getFileSystem()
Gets the configured FileSystem managed
by HadoopCluster. |
void |
start()
Starts the cluster. |
void |
stop()
Stops the cluster. |
| Method Detail |
|---|
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.
Configuration
void start()
throws Exception
Exception - if cluster failed to startvoid stop()
FileSystem getFileSystem()
throws IOException
FileSystem managed
by HadoopCluster.
IOException - if error occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||