org.apache.blur
Class MiniCluster
java.lang.Object
org.apache.blur.MiniCluster
public class MiniCluster
- extends Object
Method Summary |
String |
getControllerConnectionStr()
|
URI |
getFileSystemUri()
|
String |
getZkConnectionString()
|
void |
killShardServer(BlurConfiguration configuration,
int shardServer)
|
void |
killShardServer(int shardServer)
|
static void |
main(String[] args)
|
void |
shutdownBlurCluster()
|
void |
shutdownDfs()
|
void |
shutdownZooKeeper()
|
void |
startBlurCluster(String path,
int controllerCount,
int shardCount)
|
void |
startBlurCluster(String path,
int controllerCount,
int shardCount,
boolean randomPort)
|
void |
startControllers(BlurConfiguration configuration,
int num,
boolean randomPort)
|
void |
startControllers(int num,
boolean randomPort)
|
void |
startDfs(boolean format,
String path)
|
void |
startDfs(org.apache.hadoop.conf.Configuration conf,
boolean format,
String path)
|
void |
startDfs(org.apache.hadoop.conf.Configuration conf,
String path)
|
void |
startDfs(String path)
|
void |
startShards(BlurConfiguration configuration,
int num,
boolean randomPort)
|
void |
startShards(int num,
boolean randomPort)
|
void |
startZooKeeper(boolean format,
String path)
|
void |
startZooKeeper(boolean format,
String path,
boolean randomPort)
|
void |
startZooKeeper(Properties properties,
boolean format,
String path,
boolean randomPort)
|
void |
startZooKeeper(Properties properties,
String path)
|
void |
startZooKeeper(Properties properties,
String path,
boolean randomPort)
|
void |
startZooKeeper(String path)
|
void |
startZooKeeper(String path,
boolean randomPort)
|
void |
stopControllers()
|
void |
stopShards()
|
MiniCluster
public MiniCluster()
main
public static void main(String[] args)
throws IOException,
InterruptedException,
org.apache.zookeeper.KeeperException,
org.apache.blur.thrift.generated.BlurException,
org.apache.blur.thirdparty.thrift_0_9_0.TException
- Throws:
IOException
InterruptedException
org.apache.zookeeper.KeeperException
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
startBlurCluster
public void startBlurCluster(String path,
int controllerCount,
int shardCount)
startBlurCluster
public void startBlurCluster(String path,
int controllerCount,
int shardCount,
boolean randomPort)
shutdownBlurCluster
public void shutdownBlurCluster()
getControllerConnectionStr
public String getControllerConnectionStr()
stopControllers
public void stopControllers()
stopShards
public void stopShards()
startControllers
public void startControllers(int num,
boolean randomPort)
startControllers
public void startControllers(BlurConfiguration configuration,
int num,
boolean randomPort)
startShards
public void startShards(int num,
boolean randomPort)
startShards
public void startShards(BlurConfiguration configuration,
int num,
boolean randomPort)
killShardServer
public void killShardServer(int shardServer)
throws IOException,
InterruptedException,
org.apache.zookeeper.KeeperException
- Throws:
IOException
InterruptedException
org.apache.zookeeper.KeeperException
killShardServer
public void killShardServer(BlurConfiguration configuration,
int shardServer)
throws IOException,
InterruptedException,
org.apache.zookeeper.KeeperException
- Throws:
IOException
InterruptedException
org.apache.zookeeper.KeeperException
getZkConnectionString
public String getZkConnectionString()
startZooKeeper
public void startZooKeeper(String path)
startZooKeeper
public void startZooKeeper(String path,
boolean randomPort)
startZooKeeper
public void startZooKeeper(boolean format,
String path)
startZooKeeper
public void startZooKeeper(boolean format,
String path,
boolean randomPort)
startZooKeeper
public void startZooKeeper(Properties properties,
String path)
startZooKeeper
public void startZooKeeper(Properties properties,
String path,
boolean randomPort)
startZooKeeper
public void startZooKeeper(Properties properties,
boolean format,
String path,
boolean randomPort)
getFileSystemUri
public URI getFileSystemUri()
throws IOException
- Throws:
IOException
startDfs
public void startDfs(String path)
startDfs
public void startDfs(boolean format,
String path)
startDfs
public void startDfs(org.apache.hadoop.conf.Configuration conf,
String path)
startDfs
public void startDfs(org.apache.hadoop.conf.Configuration conf,
boolean format,
String path)
shutdownZooKeeper
public void shutdownZooKeeper()
shutdownDfs
public void shutdownDfs()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.