Shashikant Banerjee commented on HDFS-13348:

Thanks [~nandakumar131], for the review. I see the clusterId as well as the 
DatanodeUuid are optional fields in SCMRegisteredCmdResponseProto as well. 
Currently, all these fields are set to empty String if the register command 
response contain these fields. In such cases, should we change the handling for 
all these fields as suggested?

> 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

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