public class HdfsLocalCluster extends Object implements MiniCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
HdfsLocalCluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
configure() |
org.apache.hadoop.conf.Configuration |
getHdfsConfig() |
Boolean |
getHdfsEnablePermissions() |
Boolean |
getHdfsEnableRunningUserAsProxyUser() |
org.apache.hadoop.fs.FileSystem |
getHdfsFileSystemHandle() |
Boolean |
getHdfsFormat() |
Integer |
getHdfsNamenodePort() |
Integer |
getHdfsNumDatanodes() |
String |
getHdfsTempDir() |
void |
start() |
void |
stop() |
void |
stop(boolean cleanUp) |
public Integer getHdfsNamenodePort()
public String getHdfsTempDir()
public Integer getHdfsNumDatanodes()
public Boolean getHdfsEnablePermissions()
public Boolean getHdfsFormat()
public Boolean getHdfsEnableRunningUserAsProxyUser()
public org.apache.hadoop.conf.Configuration getHdfsConfig()
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 © 2019. All rights reserved.