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

ASF GitHub Bot commented on HDFS-17629:
---------------------------------------

github-actions[bot] commented on PR #7078:
URL: https://github.com/apache/hadoop/pull/7078#issuecomment-3314278534

   We're closing this stale PR because it has been open for 100 days with no 
activity. This isn't a judgement on the merit of the PR in any way. It's just a 
way of keeping the PR queue manageable.
   If you feel like this was a mistake, or you would like to continue working 
on it, please feel free to re-open it and ask for a committer to remove the 
stale tag and review again.
   Thanks all for your contribution.




> The IP address is incorrectly displayed in the IPv6 environment.
> ----------------------------------------------------------------
>
>                 Key: HDFS-17629
>                 URL: https://issues.apache.org/jira/browse/HDFS-17629
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: zeekling
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2024-09-23-09-22-28-495.png
>
>
>  
> !image-2024-09-23-09-22-28-495.png!
>  
> function open_hostip_list in histogram-hostip.js , here is root  reason
> {code:java}
> if (index > x0 && index <= x1) {
>       ips.push(dn.infoAddr.split(":")[0]);
> } {code}
> need change to:
> {code:java}
> if (index > x0 && index <= x1) {
>        ips.push(dn.infoAddr.split(":")[0]);
>        var idx = dn.infoAddr.lastIndexOf(":"); 
>        var dnIp = dn.infoAddr.substring(0, idx);
>        ips.push(dnIp);   
> }{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to