public class LocalTachyonClusterMultiMaster extends Object
| Constructor and Description |
|---|
LocalTachyonClusterMultiMaster(long workerCapacityBytes,
int masters,
int userBlockSize) |
| Modifier and Type | Method and Description |
|---|---|
TachyonFileSystem |
getClient() |
int |
getLeaderIndex() |
int |
getMasterPort() |
TachyonConf |
getMasterTachyonConf() |
String |
getUri() |
boolean |
killLeader() |
boolean |
killStandby()
Iterate over the masters in the order of master creation, kill the first standby master.
|
static void |
main(String[] args) |
void |
start() |
void |
stop() |
void |
stopTFS() |
void |
stopUFS() |
public LocalTachyonClusterMultiMaster(long workerCapacityBytes,
int masters,
int userBlockSize)
public TachyonFileSystem getClient() throws IOException
IOExceptionpublic TachyonConf getMasterTachyonConf()
public String getUri()
public int getMasterPort()
public int getLeaderIndex()
mMasters, or -1 if there is no leader temporarilypublic boolean killStandby()
public boolean killLeader()
public void start()
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.