Skipping some tests depending on the JDK shouldn't be too complicated. I think we already have such examples in the codebase.
With respect to Pig, I know that last year some people were trying to get a new release out but it's not there yet. I just sent an email to the Pig dev list to give them a heads up about the ongoing discussion here. Best, Stamatis On Fri, Sep 20, 2024 at 7:16 AM Istvan Toth <st...@cloudera.com.invalid> wrote: > > The usual solution to these JDK deprecation issues in Hadoop-based projects > is adding a lot of JDK options to re-enable JDK8 compatibility. > We may want to consider doing that for the tests using affected external > projects. (Though I'm not sure whether that it's easy or worth to do > selectively in Gradle) > > Phoenix has also removed pig support due to lack of activity and interest. > > > On Fri, Sep 20, 2024 at 5:18 AM Xiong Duan <xi...@apache.org> wrote: > > > +1. Apache Pig hasn't released a new version for a long time. The last > > version was released in 2017. > > > > [1] https://pig.apache.org/releases.html > > > > Francis Chuang <francischu...@apache.org> 于2024年9月20日周五 05:22写道: > > > > > > I can be RM for Avatica 1.26.0. > > > > > > Francis > > > > > > On 20/09/2024 4:45 am, Ruben Q L wrote: > > > > +1, I think the proposed plan seems reasonable. > > > > > > > > Ruben > > > > > > > > > > > > On Thu, Sep 19, 2024 at 5:31 PM Julian Hyde <jh...@apache.org> wrote: > > > > > > > >> While working towards releasing Calcite 1.38.0, I noticed that JDK 23 > > > >> has been released, and decided to try to upgrade Calcite to support > > > >> it[1]. And I found myself blocked by an Avatica bug, namely that > > > >> Avatica uses a getSubject method that has been deprecated for some > > > >> time and finally disabled in JDK 23. (Incidentally, Hadoop has the > > > >> same problem [3]; people don't expect them to run on the current JDK, > > > >> but we will need to disable our Spark and Pig adapter tests under JDK > > > >> 23 until they fix it.) > > > >> > > > >> There's currently just one bug, to upgrade Avatica to JDK 23. This > > > >> includes re-enabling the mode where we fail to compile if any > > > >> deprecated methods are used, and removing uses of getSubject [2]. > > > >> > > > >> I think we can release Calcite 1.38.0 with limited JDK 23 support > > > >> (i.e. a few tests disabled), but we're going to need a new Avatica > > > >> release in the next month or two, and it will need to fix the > > > >> getSubject issue. > > > >> > > > >> What do you think? > > > >> > > > >> Julian > > > >> > > > >> [1] https://issues.apache.org/jira/browse/CALCITE-6587 > > > >> [2] https://issues.apache.org/jira/browse/CALCITE-6588 > > > >> [3] https://issues.apache.org/jira/browse/HADOOP-19212 > > > >> > > > > > > > > > > > > -- > *István Tóth* | Sr. Staff Software Engineer > *Email*: st...@cloudera.com > cloudera.com <https://www.cloudera.com> > [image: Cloudera] <https://www.cloudera.com/> > [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: > Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera > on LinkedIn] <https://www.linkedin.com/company/cloudera> > ------------------------------ > ------------------------------