-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix Iceberg JDBC tests on Java 23 (#6150)
The Iceberg JDBC tests are failing in Java 23, with the (abbreviated) failure: ``` java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed at java.base/javax.security.auth.Subject.getSubject(Subject.java:347) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:588) at org.apache.iceberg.hadoop.Util.getFs(Util.java:56) ... at org.apache.iceberg.hadoop.HadoopInputFile.fromLocation(HadoopInputFile.java:56) at io.deephaven.iceberg.PyIceberg1Test.catalogInfo(PyIceberg1Test.java:58) ``` This adds a targetted JUnit 5 tag that will run the specific tests with the system property `-Djava.security.manager=allow`, and only on Java 23+. See https://issues.apache.org/jira/browse/HADOOP-19212 See https://jdk.java.net/23/release-notes#JDK-8296244
- Loading branch information
1 parent
958aab3
commit 6a643a9
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters