com.bigdata.jini.start.config
Interface ZookeeperServerConfiguration.Options

All Superinterfaces:
ServiceConfiguration.Options
Enclosing class:
ZookeeperServerConfiguration

public static interface ZookeeperServerConfiguration.Options
extends ServiceConfiguration.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.

Version:
$Id$
Author:
Bryan Thompson
See Also:
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

NAMESPACE

static final String NAMESPACE
The namespace for the zookeeper server options.


CONFIG_FILE

static final String CONFIG_FILE
The basename of the zookeeper configuration file. The file itself will be located in the zookeeper data directory.

See Also:
Constant Field Values

DEFAULT_CONFIG_FILE

static final String DEFAULT_CONFIG_FILE
Default for CONFIG_FILE

See Also:
Constant Field Values

SERVERS

static final String SERVERS
Options specifies the server configuration entries. This is a comma deliminted set of zookeeper server descriptions. Each element of the set has the form myid=hostname:port:port where myid is the identifier for that service instance.

See Also:
Constant Field Values

CLIENT_PORT

static final String CLIENT_PORT
The port at which clients will connect to the zookeeper ensemble.

See Also:
Constant Field Values

TICK_TIME

static final String TICK_TIME
See Also:
Constant Field Values

DATA_DIR

static final 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).

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.

See Also:
Constant Field Values

DATA_LOG_DIR

static final 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).

See Also:
Constant Field Values

GLOBAL_OUTSTANDING_LIMIT

static final String GLOBAL_OUTSTANDING_LIMIT
See Also:
Constant Field Values

PRE_ALLOC_SIZE

static final String PRE_ALLOC_SIZE
See Also:
Constant Field Values

SNAP_COUNT

static final String SNAP_COUNT
See Also:
Constant Field Values

TRACE_FILE

static final String TRACE_FILE
See Also:
Constant Field Values

ELECTION_ALG

static final String ELECTION_ALG
See Also:
Constant Field Values

INIT_LIMIT

static final String INIT_LIMIT
See Also:
Constant Field Values

LEADER_SERVES

static final String LEADER_SERVES
See Also:
Constant Field Values

SYNC_LIMIT

static final String SYNC_LIMIT
See Also:
Constant Field Values

FORCE_SYNC

static final String FORCE_SYNC
See Also:
Constant Field Values

SKIP_ACL

static final String SKIP_ACL
See Also:
Constant Field Values


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.