[
https://issues.apache.org/jira/browse/HDDS-10132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835670#comment-17835670
]
Raju Balpande edited comment on HDDS-10132 at 4/10/24 9:58 AM:
---------------------------------------------------------------
For JDK 8 the IP address is resolved to : 192.168.43.138
!image-2024-04-10-15-28-09-627.png|width=1132,height=316,id=image_0!
Whereas for JDK11 it is resolved to local IP : 127.0.0.1
!image-2024-04-10-15-28-35-386.png|width=1305,height=289,id=image_1!
This code belongs to Hadoop code.
was (Author: JIRAUSER296391):
For JDK 8 the IP address is resolved to : 192.168.43.138
!image-2024-04-10-15-24-52-367.png|width=1042,height=291,id=image_0!
Whereas for JDK11 it is resolved to local IP : 127.0.0.1
!image-2024-04-10-15-26-31-737.png|width=1260,height=279,id=image_1!
This code belongs to Hadoop code.
> TestStorageContainerManager.testScmProcessDatanodeHeartbeat fails with Java 17
> ------------------------------------------------------------------------------
>
> Key: HDDS-10132
> URL: https://issues.apache.org/jira/browse/HDDS-10132
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Raju Balpande
> Priority: Major
> Attachments: image-2024-04-10-15-28-09-627.png,
> image-2024-04-10-15-28-35-386.png
>
>
> {code:title=TestStorageContainerManager.testScmProcessDatanodeHeartbeat}
> AssertionFailedError: expected: </rack1> but was: </default-rack>
> ...
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
> at
> org.apache.hadoop.ozone.scm.TestStorageContainerManager.testScmProcessDatanodeHeartbeat(TestStorageContainerManager.java:830)
> {code}
> The test can be run with Java 17 using command similar to (may need to tweak
> JAVA_HOME):
> {code}
> JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 \
> ./hadoop-ozone/dev-support/checks/junit.sh -DexcludedGroups='unhealthy' \
> -am -pl :ozone-integration-test
> -Dtest='TestStorageContainerManager#testScmProcessDatanodeHeartbeat'
> {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]