[
https://issues.apache.org/jira/browse/HDFS-17831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033185#comment-18033185
]
ASF GitHub Bot commented on HDFS-17831:
---------------------------------------
stoty commented on PR #7961:
URL: https://github.com/apache/hadoop/pull/7961#issuecomment-3450765245
Can you review this @slfan1989 ?
This test breaks on JDK24+.
> Unexpected exception in org.apache.hadoop.hdfs.server.namenode.TestCheckpoint
> with Java 24
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-17831
> URL: https://issues.apache.org/jira/browse/HDFS-17831
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: java24, pull-request-available
>
> {noformat}
> [ERROR]
> org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testNameNodeImageSendFailWrongSize
> -- Time elapsed: 0.449 s <<< FAILURE!
> java.lang.AssertionError:
> Expected to find 'is not of the advertised size' but got unexpected
> exception: java.io.IOException: Premature EOF
> at java.base/sun.net.www.MeteredStream.justRead(MeteredStream.java:58)
> at java.base/sun.net.www.MeteredStream.read(MeteredStream.java:135)
> at
> java.base/java.io.FilterInputStream.read(FilterInputStream.java:119)
> at
> java.base/sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3309)
> at
> java.base/java.security.DigestInputStream.read(DigestInputStream.java:170)
> at java.base/java.io.FilterInputStream.read(FilterInputStream.java:95)
> at
> org.apache.hadoop.hdfs.server.common.Util.receiveFile(Util.java:267)
> at org.apache.hadoop.hdfs.server.common.Util.doGetUrl(Util.java:190)
> ...
> {noformat}
> Seems to be caused by
> https://github.com/openjdk/jdk/commit/b6ffb442acb4a222f017868433eff213d9b84ed8
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]