|
Spring for Apache Hadoop | ||||||||
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 | |
---|---|
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. |
Method Detail |
---|
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.
Configuration
void 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
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |