public class MiniCluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MiniCluster.Builder
A MiniCluster Builder.
|
Modifier and Type | Field and Description |
---|---|
static String |
BIND_IP_KEY |
static String |
CLEAN_KEY |
static String |
FLUME_AGENT_NAME |
static String |
FLUME_CONFIGURATION |
static String |
HIVE_METASTORE_PORT |
static String |
HIVE_SERVER_PORT |
static String |
NAMENODE_RPC_PORT |
static String |
WORK_DIR_KEY |
static String |
ZK_PORT_KEY |
Modifier and Type | Method and Description |
---|---|
static void |
registerService(Class<? extends Service> klass) |
void |
start()
Starts the services in order, passing the previous service's modified
Configuration object to the next.
|
void |
stop()
Stops the services in reverse of their run order.
|
public static final String BIND_IP_KEY
public static final String CLEAN_KEY
public static final String WORK_DIR_KEY
public static final String NAMENODE_RPC_PORT
public static final String ZK_PORT_KEY
public static final String HIVE_METASTORE_PORT
public static final String HIVE_SERVER_PORT
public static final String FLUME_CONFIGURATION
public static final String FLUME_AGENT_NAME
public void start() throws IOException, InterruptedException
IOException
InterruptedException
public void stop() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2013–2015. All rights reserved.