|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ZookeeperServerConfiguration.Options
Zookeeper server configuration options.
Note: These options have the same names as those defined by zookeeper,
but there are some additional options which have to do with how we manage
zookeeper instances, the name of the zookeeper configuration file, etc.
The only zookeeper option that you CAN NOT specify is server.
Use SERVERS instead to accomplish the same thing.
http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html,
http://hadoop.apache.org/zookeeper/docs/current/zookeeperStarted.html| Field Summary | |
|---|---|
static String |
CLIENT_PORT
The port at which clients will connect to the zookeeper ensemble. |
static String |
CONFIG_FILE
The basename of the zookeeper configuration file. |
static String |
DATA_DIR
Option specifies the data directory (defaults to a directory named "zookeeper" that is a child of the value specified for ServiceConfiguration.Options.SERVICE_DIR). |
static String |
DATA_LOG_DIR
Option specifies the directory for the data recovery logs (optional, but it is highly advised to place this on a fast local and dedicated device; defaults to value resolved for the data directory). |
static String |
DEFAULT_CONFIG_FILE
Default for CONFIG_FILE |
static String |
ELECTION_ALG
|
static String |
FORCE_SYNC
|
static String |
GLOBAL_OUTSTANDING_LIMIT
|
static String |
INIT_LIMIT
|
static String |
LEADER_SERVES
|
static String |
NAMESPACE
The namespace for the zookeeper server options. |
static String |
PRE_ALLOC_SIZE
|
static String |
SERVERS
Options specifies the server configuration entries. |
static String |
SKIP_ACL
|
static String |
SNAP_COUNT
|
static String |
SYNC_LIMIT
|
static String |
TICK_TIME
|
static String |
TRACE_FILE
|
| Fields inherited from interface com.bigdata.jini.start.config.ServiceConfiguration.Options |
|---|
ARGS, CONSTRAINTS, OPTIONS, REPLICATION_COUNT, SERVICE_COUNT, SERVICE_DIR, TIMEOUT |
| Field Detail |
|---|
static final String NAMESPACE
static final String CONFIG_FILE
static final String DEFAULT_CONFIG_FILE
CONFIG_FILE
static final String SERVERS
myid=hostname:port:port where myid
is the identifier for that service instance.
static final String CLIENT_PORT
static final String TICK_TIME
static final String DATA_DIR
ServiceConfiguration.Options.SERVICE_DIR).
Note: This name (dataDir) is being used here because that is the name
that zookeeper uses in its own configuration file. The value given
for the ServiceConfiguration.Options.SERVICE_DIR is the
default for this option. So the serviceDir is actually ignored if you
specify this option as well.
static final String DATA_LOG_DIR
static final String GLOBAL_OUTSTANDING_LIMIT
static final String PRE_ALLOC_SIZE
static final String SNAP_COUNT
static final String TRACE_FILE
static final String ELECTION_ALG
static final String INIT_LIMIT
static final String LEADER_SERVES
static final String SYNC_LIMIT
static final String FORCE_SYNC
static final String SKIP_ACL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||