hadoop icon indicating copy to clipboard operation
hadoop copied to clipboard

HDFS-17629.The IP address is incorrectly displayed in the IPv6 enviro…

Open zeekling opened this issue 1 year ago • 1 comments

…nment.

Description of PR

for https://issues.apache.org/jira/browse/HDFS-17629

unction open_hostip_list in histogram-hostip.js , here is root reason

if (index > x0 && index <= x1) {
      ips.push(dn.infoAddr.split(":")[0]);
} 

need change to:

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);   
}

How was this patch tested?

For code changes:

  • [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
  • [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
  • [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
  • [ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

zeekling avatar Sep 28 '24 09:09 zeekling

:confetti_ball: +1 overall

Vote Subsystem Runtime Logfile Comment
+0 :ok: reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+0 :ok: codespell 0m 0s codespell was not available.
+0 :ok: detsecrets 0m 0s detect-secrets was not available.
+0 :ok: jshint 0m 0s jshint was not available.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ trunk Compile Tests _
+1 :green_heart: mvninstall 44m 55s trunk passed
+1 :green_heart: shadedclient 79m 38s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 :green_heart: mvninstall 1m 13s the patch passed
+1 :green_heart: blanks 0m 0s The patch has no blanks issues.
+1 :green_heart: shadedclient 34m 33s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 :green_heart: asflicense 0m 38s The patch does not generate ASF License warnings.
118m 15s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7078/1/artifact/out/Dockerfile
GITHUB PR https://github.com/apache/hadoop/pull/7078
Optional Tests dupname asflicense shadedclient codespell detsecrets jshint
uname Linux 9b683fc1bea7 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 338ee9c42b78b8f62f09e0a01fd3053ea7a3fed2
Max. process+thread count 699 (vs. ulimit of 5500)
modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7078/1/console
versions git=2.25.1 maven=3.6.3
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

hadoop-yetus avatar Sep 28 '24 11:09 hadoop-yetus

@ayushtkn Can you review this pr ?

zeekling avatar Oct 25 '24 03:10 zeekling

Can someone review this pr ? @hadoop-yetus

zeekling avatar Dec 11 '24 15:12 zeekling

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.

github-actions[bot] avatar Sep 20 '25 00:09 github-actions[bot]