[
https://issues.apache.org/jira/browse/CALCITE-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882822#comment-17882822
]
Julian Hyde edited comment on CALCITE-6587 at 9/18/24 11:09 PM:
----------------------------------------------------------------
We are running into HADOOP-19212 and will need to disable some tests (Pig and
Spark adapters) in JDK 23 until it is fixed.
Note that Spark is relying on Hadoop:
{noformat}
Exception java.lang.UnsupportedOperationException: getSubject is supported only
if a security manager is allowed [in thread "ForkJoinPool-1-worker-3"]
at java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
at
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:700)
at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2427)
at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2427)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.util.Utils$.getCurrentUserName(Utils.scala:2427)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:295) {noformat}
was (Author: julianhyde):
We are running into HADOOP-19212 and will need to disable some tests (Pig and
Spark adapters) in JDK 23 until it is fixed.
Note that Spark is relying on Hadoop:
{noformat}
Exception java.lang.UnsupportedOperationException: getSubject is supported only
if a security manager is allowed [in thread "ForkJoinPool-1-worker-3"]
5859 at
java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
5860 at
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:700)
5861 at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2427)
5862 at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2427)
5863 at scala.Option.getOrElse(Option.scala:120)
5864 at
org.apache.spark.util.Utils$.getCurrentUserName(Utils.scala:2427)
5865 at
org.apache.spark.SparkContext.<init>(SparkContext.scala:295) {noformat}
> Support JDK 23 and Guava 33.3.0
> -------------------------------
>
> Key: CALCITE-6587
> URL: https://issues.apache.org/jira/browse/CALCITE-6587
> Project: Calcite
> Issue Type: Improvement
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.38.0
>
>
> Support JDK 23 and Guava 33.3.0-jre, which are the latest available versions.
> The lower bound has not changed: we support JDK down to 8, and Guava down to
> 21.0 (since CALCITE-5763).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)