You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/03 00:58:00 UTC

[jira] [Work logged] (HDFS-16194) Simplify the code with DatanodeID#getXferAddrWithHostname

     [ https://issues.apache.org/jira/browse/HDFS-16194?focusedWorklogId=646116&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-646116 ]

ASF GitHub Bot logged work on HDFS-16194:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Sep/21 00:57
            Start Date: 03/Sep/21 00:57
    Worklog Time Spent: 10m 
      Work Description: tomscut commented on a change in pull request #3354:
URL: https://github.com/apache/hadoop/pull/3354#discussion_r701514329



##########
File path: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DatanodeID.java
##########
@@ -255,6 +255,13 @@ public int getXferPort() {
     return xferPort;
   }
 
+  /**
+   * @return name useful for logging or display
+   */
+  public String getDisplayName() {

Review comment:
       > `DatanodeID#getXferAddrWithHostname()` is the same method, isn't it?
   
   Thank you for reminding me that the two methods are indeed the same. I will make some change.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 646116)
    Time Spent: 1h 10m  (was: 1h)

> Simplify the code with DatanodeID#getXferAddrWithHostname   
> ------------------------------------------------------------
>
>                 Key: HDFS-16194
>                 URL: https://issues.apache.org/jira/browse/HDFS-16194
>             Project: Hadoop HDFS
>          Issue Type: Wish
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Simplify the code with DatanodeID#getXferAddrWithHostname.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org