[ https://issues.apache.org/jira/browse/HDFS-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218114#comment-16218114 ]
Brahma Reddy Battula commented on HDFS-12532: --------------------------------------------- bq.I recommend either switching your interface and aliased ips Looks It's not possible in our environment. It used for another components also. bq. set dfs.namenode.datanode.registration.ip-hostname-check=false. This can aviod the ERROR, but it will overide the [folating IP|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java#L1025] hence clients will get this IP from Namenode but Datanode will listen on another IP? I feel, when principal having hostname which can't resolvable (i.e bindAddr = null),we can have one config like below..? This can be configured DualIP machines. {code} if (bindAddr == null) { String bindAddrIp = conf.get( CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_LOCAL_BIND_IP_KEY); if (bindAddrIp != null && !bindAddrIp.isEmpty()) { bindAddr = new InetSocketAddress(bindAddrIp, 0); } } {code} > DN Reg can Fail when principal doesn't contain hostname and floatingIP is > configured. > ------------------------------------------------------------------------------------- > > Key: HDFS-12532 > URL: https://issues.apache.org/jira/browse/HDFS-12532 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Brahma Reddy Battula > > Configure principal without hostname (i.e hdfs/had...@hadoop.com) > Configure floatingIP > Start Cluster. > Here DN will fail to register as it can take IP which is not in "/etc/hosts". -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org