[ 
https://issues.apache.org/jira/browse/HDFS-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179095#comment-16179095
 ] 

Brahma Reddy Battula commented on HDFS-12532:
---------------------------------------------

[~daryn] thanks a lot for taking a look into this issue.

bq.That principal does have a hostname. Did you mean h...@hadoop.com?
Supposed to tell,{{hostname}} which is not resolvable i.e 
hdfs/hadoop.hadoop....@hadoop.com. Here hadoop.hadoop.com is n't configured as 
hostname
bq.Is floating ip a dynamic dhcp address? If yes, is this for testing? Anyway, 
I need to understand more about X.Y.Y.1 and X.Y.Y.100. I'm assuming X.Y.Y.1 is 
localhost/127.0.0.1? X.Y.Y.100 is the dhcp assigned address?
Floating IP configured for HA purpose.Such that Active and standby can use same 
IP to access webUI.*Here datanode registered with X.Y.Y.1 and X.Y.Y.100 is 
floating IP which is used for further communication which will fail.*
bq.Here's the problem with your proposal: "getLocalHost" will attempt to 
resolve the system assigned hostname, which you are assuming will always be in 
/etc/hosts,
I was in assumption of host mapping will be configured for hadoop cluster. 
Ok, then we can make it configurable..?

> 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
>            Assignee: 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

Reply via email to