Skip to main content

HDFS_NAME_NODE

Constant HDFS_NAME_NODE 

Source
pub const HDFS_NAME_NODE: &str = "hdfs.name-node";
Expand description

HDFS NameNode RPC endpoint(s) as host:port, e.g. hdfs://namenode:8020; a comma-separated list enables HA failover. Serves authority-less paths (hdfs:///path) only; a path authority with a port is used as is. A portless authority (hdfs://ns1/path) must be a nameservice declared in properties: hdfs.name-node.<nameservice> takes the same list and is sugar for Hadoop’s dfs.ha.namenodes.<nameservice> and dfs.namenode.rpc-address.<nameservice>.<id>, which are honored as well when passed through HDFS_HADOOP_CONF_PREFIX. Unlike Hadoop, an undeclared one is an error: it is neither resolved from $HADOOP_CONF_DIR nor dialed on the default port 8020.