public class MRLocalCluster extends Object implements MiniCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
MRLocalCluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
configure() |
org.apache.hadoop.conf.Configuration |
getConfig() |
String |
getHdfsDefaultFs() |
String |
getJobHistoryAddress() |
Integer |
getNumNodeManagers() |
String |
getResourceManagerAddress() |
String |
getResourceManagerHostname() |
String |
getResourceManagerResourceTrackerAddress() |
String |
getResourceManagerSchedulerAddress() |
String |
getResourceManagerWebappAddress() |
String |
getTestName() |
Boolean |
getUseInJvmContainerExecutor() |
void |
start() |
void |
stop() |
void |
stop(boolean cleanUp) |
public String getTestName()
public Integer getNumNodeManagers()
public String getJobHistoryAddress()
public String getResourceManagerAddress()
public String getResourceManagerHostname()
public String getResourceManagerSchedulerAddress()
public String getResourceManagerResourceTrackerAddress()
public String getResourceManagerWebappAddress()
public Boolean getUseInJvmContainerExecutor()
public String getHdfsDefaultFs()
public org.apache.hadoop.conf.Configuration getConfig()
public void start()
throws Exception
start in interface MiniClusterExceptionpublic void stop()
throws Exception
stop in interface MiniClusterExceptionpublic void stop(boolean cleanUp)
throws Exception
stop in interface MiniClusterExceptionpublic void configure()
throws Exception
configure in interface MiniClusterExceptionpublic void cleanUp()
throws Exception
cleanUp in interface MiniClusterExceptionCopyright © 2015. All Rights Reserved.