public class GalaxyTestingUtils extends Object
Constructor and Description |
---|
GalaxyTestingUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteDir(String path) |
static String |
pathToResource(String name) |
static Runnable |
startGlxServer(String serverConfig,
String serverProps) |
static org.apache.zookeeper.server.ServerCnxnFactory |
startZookeeper(String configResource,
String dataDirName) |
public static void deleteDir(String path) throws IOException
IOException
public static org.apache.zookeeper.server.ServerCnxnFactory startZookeeper(String configResource, String dataDirName) throws IOException, org.apache.zookeeper.server.quorum.QuorumPeerConfig.ConfigException
IOException
org.apache.zookeeper.server.quorum.QuorumPeerConfig.ConfigException