Database Reference
In-Depth Information
<value>node2.hcluster:50070</value>
</property>
dfs.namenode.shared.edits.dir : This property defines the URI that identifies the
group of JournalNodes to which the NameNodes will read and write edits. The
values are a list of the JournalNode addresses. These addresses point to the loca-
tion where the active namenode writes the edit logs and is subsequently read by
the standby namenode. The values are semicolon separated. The following is a
sample configuration entry for dfs.namenode.shared.edits.dir :
<property>
<name>dfs.namenode.shared.edits.dir</name>
<value>qjournal://node3.hcluster:8485;node4.hcluster:8485;node5.hcluster:8485/
hcluster</value>
</property>
dfs.client.failover.proxy.provider.[NameserviceID] : This property defines the
Java class that HDFS clients use to contact the active namenode. This property
helps clients identify the active namenode. Developers can write custom classes
for this property. The default class that it comes with Hadoop is Con-
figuredFailoverProxyProvider . The following is a sample configura-
tion entry for dfs.client.failover.proxy.provider :
<property>
<name>dfs.client.failover.proxy.provider.hcluster</name>
<value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
</property>
fs.defaultFS : This property defines the default path prefix used by the Hadoop FS
client when none is given. This property is defined in the core-site.xml file.
The following is a sample configuration entry for fs.defaultFS :
<property>
<name>fs.defaultFS</name>
<value>hdfs://hcluster</value>
</property>
Search WWH ::




Custom Search