Database Reference
In-Depth Information
<property>
<name>dfs.nameservices</name>
<value>hcluster</value>
</property>
•
dfs.ha.namenodes.[NameserviceID]
: This property defines the unique identifiers
for the namenodes in the cluster. The IDs mentioned as values for this property
are also referred to as
NamenodeID
. The following is a sample configuration
entry for
dfs.ha.namenodes
:
<property>
<name>dfs.ha.namenodes.hcluster</name>
<value>nn1,nn2</value>
</property>
•
dfs.namenode.rpc-address.[NameserviceID].[name node ID]
: This property
defines the fully qualified RPC address for each configured namenode in the
cluster. The following is a sample configuration entry for
dfs.namenode.rpc-address
:
<property>
<name>dfs.namenode.rpc-address.hcluster.nn1</name>
<value>node1.hcluster:8020</value>
</property>
<property>
<name>dfs.namenode.rpc-address.hcluster.nn2</name>
<value>node2.hcluster:8020</value>
</property>
•
dfs.namenode.http-address.[NameserviceID].[name node ID]
: This property
defines the fully qualified HTTP address for each namenode in the cluster. The
following is a sample configuration entry for
dfs.namenode.http-ad-
dress
:
<property>
<name>dfs.namenode.http-address.hcluster.nn1</name>
<value>node1.hcluster:50070</value>
</property>
<property>
<name>dfs.namenode.http-address.hcluster.nn2</name>