Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> About connection to NameNode in NameNode-HA


Copy link to this message
-
About connection to NameNode in NameNode-HA
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
+
Todd Lipcon 2012-11-01, 16:43
+
Shinichi Yamashita 2012-11-04, 12:24
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB