[
https://issues.apache.org/jira/browse/HDFS-16194?focusedWorklogId=646096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-646096
]
ASF GitHub Bot logged work on HDFS-16194:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Sep/21 23:51
Start Date: 02/Sep/21 23:51
Worklog Time Spent: 10m
Work Description: tasanuma commented on a change in pull request #3354:
URL: https://github.com/apache/hadoop/pull/3354#discussion_r701494232
##########
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?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 646096)
Time Spent: 1h (was: 50m)
> Add a public method DatanodeID#getDisplayName
> ---------------------------------------------
>
> 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
> Remaining Estimate: 0h
>
> Add a public method DatanodeID#getDisplayName to simplify the code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]