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

Nanda kumar commented on HDFS-13348:
------------------------------------

Thanks [~shashikant] for bringing it up, we have to make both clusterId and 
DatanodeUuid as required field and handle it properly.
As of now, we don't do anything with the response of datanode registration. We 
should validate the clusterId and also the datanodeUuid as done in 
{{HeartbeatEndpointTask#processResponse}} line:133. We can do this in follow-up 
jiras.

> Ozone: Update IP and hostname in Datanode from SCM's response to the register 
> call
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-13348
>                 URL: https://issues.apache.org/jira/browse/HDFS-13348
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Assignee: Shashikant Banerjee
>            Priority: Major
>         Attachments: HDFS-13348-HDFS-7240.000.patch, 
> HDFS-13348-HDFS-7240.001.patch
>
>
> Whenever a Datanode registers with SCM, the SCM resolves the IP address and 
> hostname of the Datanode form the RPC call. This IP address and hostname 
> should be sent back to Datanode in the response to register call and the 
> Datanode has to update the values from the response to its 
> {{DatanodeDetails}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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