class type nn_node_config = object
.. end
method nn_clustername : string
The clustername
method nn_hostname : string
The hostname of this node. Must be resolvable to a reasonable
IP address so that other nodes can reach this node.
method nn_nodes : string list
The name nodes in "host:port" syntax
method nn_node_timeout : float
The timeout for connects and RPC calls to name nodes
method nn_node_alive_min : int
How many name nodes need to be alive to continue with operations
method nn_node_alive_min_startup : int
How many name nodes need to be alive at cluster startup
method nn_rank : string
The rank of this node compared to other nodes. At startup time,
the node with the lowest rank is chosen as coordinator.
Each node must have a distinct rank. Ranks are compared as in
String.compare
.
method nn_elect_timeout : float
For how many seconds to wait for neighbor namenodes
method nn_inodecaches : string list
Which inodecaches are announced to the clients
method nn_replication : int
Default replication factor
method dn_blocksize : int
Expected blocksize of datanodes
method dn_nodes : string list
The data nodes in "host:port" syntax
method dn_node_timeout : float
The timeout for connects and RPC calls to data nodes