Biju Nair created HDFS-7810:
-------------------------------
Summary: Datanode registration process fails in hadoop 2.6
Key: HDFS-7810
URL: https://issues.apache.org/jira/browse/HDFS-7810
Project: Hadoop HDFS
Issue Type: Bug
Components: datanode, namenode
Affects Versions: 2.6.0
Environment: ubuntu 12
Reporter: Biju Nair
When a new DN is added to the cluster, the registration process fails. The
following are the steps followed.
- Install and start a new DN
- Add entry for the DN in the {{/etc/hosts}} file
DN log shows that the registration process failed
- Tried to restart DN with the same result
Since all the DNs have multiple NW interface, we are using the following
{{hdfs-site.xml}} property, instead of listing all the
{{dfs.datanode.*.address}} properties.
{code:xml}
<property>
<name>dfs.datanode.dns.interface</name>
<value>eth2</value>
</property>
{code}
- Restarting the NN resolves the issue with registration which is not desired.
- Adding the {{dfs.datanode.*.address}} properties seem to resolve DN
registration process without NN restart. But this is a different behavior
compared to *hadoop 2.2*. Is there a reason for the change?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)