hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinichi Yamashita <shin1...@gmail.com>
Subject About connection to NameNode in NameNode-HA
Date Thu, 01 Nov 2012 15:44:56 GMT
Hi,

I write hdfs-site.xml of all nodes as follows in NameNode-HA.

----------
... snip  ...
  <property>
    <name>dfs.namenode.rpc-address.ns.nn1</name>
    <value>nn1:8020</value>
  </property>
 <property>
    <name>dfs.namenode.rpc-address.ns.nn2</name>
    <value>nn2:8020</value>
 </property>
 <property>
    <name>dfs.client.failover.proxy.provider.nn</name>
    <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
 </property>
... snip ...
----------
(nn : nameserviceID, nn1: NameNode1, nn2: NameNode2)

Is the order of connection from DFSClient to NameNode always "(1) nn1"
and "(2) nn2" ?
And will "StandbyException" messages be written in the log of nn1 If
the state of nn1 is standby?

Regards,
Shinichi

Mime
View raw message