org.apache.hama
Interface Constants

All Known Subinterfaces:
BSPPeerInterface, BSPPeerProtocol
All Known Implementing Classes:
BSPPeer, GroomServer, QuorumPeer

public interface Constants

Some constants used in the Hama.


Field Summary
static String CLUSTER_DISTRIBUTED
          Cluster is in distributed mode or not
static String CLUSTER_IS_DISTRIBUTED
          Cluster is fully-distributed
static String DEFAULT_GROOM_RPC_HOST
           
static int DEFAULT_GROOM_RPC_PORT
          Default port region rpc server listens on.
static String DEFAULT_PEER_HOST
          default host address
static int DEFAULT_PEER_PORT
          Default port region server listens on.
static int DEFAULT_ZOOKEEPER_PAUSE
          Default ZooKeeper pause value.
static int DEFAULT_ZOOKEEPER_RETRIES
          Default number of times to retry writes to ZooKeeper.
static String DEFAULT_ZOOKEEPER_ROOT
          zookeeper default root
static String DEFAULT_ZOOKEEPER_SERVER_ADDR
          zookeeper default server address
static int DEFAULT_ZOOKEPER_CLIENT_PORT
           
static byte[] EMPTY_BYTE_ARRAY
          An empty instance.
static String GROOM_RPC_HOST
           
static String GROOM_RPC_PORT
           
static String GROOM_SERVER_IMPL
          Parameter name for what groom server implementation to use.
static String PEER_HOST
          default host address
static String PEER_ID
           
static String PEER_PORT
           
static String UTF8_ENCODING
          When we encode strings, we always specify UTF8 encoding
static String ZOOKEEPER_CONFIG_NAME
           
static String ZOOKEEPER_PAUSE
          Parameter name for ZooKeeper pause between retries.
static String ZOOKEEPER_QUORUM
           
static String ZOOKEEPER_RETRIES
          Parameter name for number of times to retry writes to ZooKeeper.
static String ZOOKEEPER_ROOT
          zookeeper root
static String ZOOKEEPER_SERVER_ADDRS
          zookeeper server address
static String ZOOKEPER_CLIENT_PORT
           
 

Field Detail

GROOM_RPC_HOST

static final String GROOM_RPC_HOST
See Also:
Constant Field Values

DEFAULT_GROOM_RPC_HOST

static final String DEFAULT_GROOM_RPC_HOST
See Also:
Constant Field Values

GROOM_RPC_PORT

static final String GROOM_RPC_PORT
See Also:
Constant Field Values

DEFAULT_GROOM_RPC_PORT

static final int DEFAULT_GROOM_RPC_PORT
Default port region rpc server listens on.

See Also:
Constant Field Values

PEER_HOST

static final String PEER_HOST
default host address

See Also:
Constant Field Values

DEFAULT_PEER_HOST

static final String DEFAULT_PEER_HOST
default host address

See Also:
Constant Field Values

PEER_PORT

static final String PEER_PORT
See Also:
Constant Field Values

DEFAULT_PEER_PORT

static final int DEFAULT_PEER_PORT
Default port region server listens on.

See Also:
Constant Field Values

PEER_ID

static final String PEER_ID
See Also:
Constant Field Values

GROOM_SERVER_IMPL

static final String GROOM_SERVER_IMPL
Parameter name for what groom server implementation to use.

See Also:
Constant Field Values

UTF8_ENCODING

static final String UTF8_ENCODING
When we encode strings, we always specify UTF8 encoding

See Also:
Constant Field Values

ZOOKEEPER_ROOT

static final String ZOOKEEPER_ROOT
zookeeper root

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_ROOT

static final String DEFAULT_ZOOKEEPER_ROOT
zookeeper default root

See Also:
Constant Field Values

ZOOKEEPER_SERVER_ADDRS

static final String ZOOKEEPER_SERVER_ADDRS
zookeeper server address

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_SERVER_ADDR

static final String DEFAULT_ZOOKEEPER_SERVER_ADDR
zookeeper default server address

See Also:
Constant Field Values

ZOOKEEPER_RETRIES

static final String ZOOKEEPER_RETRIES
Parameter name for number of times to retry writes to ZooKeeper.

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_RETRIES

static final int DEFAULT_ZOOKEEPER_RETRIES
Default number of times to retry writes to ZooKeeper.

See Also:
Constant Field Values

ZOOKEEPER_PAUSE

static final String ZOOKEEPER_PAUSE
Parameter name for ZooKeeper pause between retries. In milliseconds.

See Also:
Constant Field Values

DEFAULT_ZOOKEEPER_PAUSE

static final int DEFAULT_ZOOKEEPER_PAUSE
Default ZooKeeper pause value. In milliseconds.

See Also:
Constant Field Values

ZOOKEEPER_CONFIG_NAME

static final String ZOOKEEPER_CONFIG_NAME
See Also:
Constant Field Values

ZOOKEPER_CLIENT_PORT

static final String ZOOKEPER_CLIENT_PORT
See Also:
Constant Field Values

DEFAULT_ZOOKEPER_CLIENT_PORT

static final int DEFAULT_ZOOKEPER_CLIENT_PORT
See Also:
Constant Field Values

ZOOKEEPER_QUORUM

static final String ZOOKEEPER_QUORUM
See Also:
Constant Field Values

CLUSTER_DISTRIBUTED

static final String CLUSTER_DISTRIBUTED
Cluster is in distributed mode or not

See Also:
Constant Field Values

CLUSTER_IS_DISTRIBUTED

static final String CLUSTER_IS_DISTRIBUTED
Cluster is fully-distributed

See Also:
Constant Field Values

EMPTY_BYTE_ARRAY

static final byte[] EMPTY_BYTE_ARRAY
An empty instance.



Copyright © 2011 The Apache Software Foundation