Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Remove Java 8 support in Arrow v18 #38051

Open
7 tasks
danepitkin opened this issue Oct 5, 2023 · 9 comments
Open
7 tasks

[Java] Remove Java 8 support in Arrow v18 #38051

danepitkin opened this issue Oct 5, 2023 · 9 comments

Comments

@danepitkin
Copy link
Contributor

danepitkin commented Oct 5, 2023

Describe the enhancement requested

  1. Java 8 is holding back development of newer Java features. For example, the Java Platform Module System (JPMS)[1], which was introduced in Java 9.
  2. Java 8 is preventing Arrow from using latest packages/dependencies in some places. See examples[2][3][4].
  3. Arrow Java is quite stable, so Java 8 users can probably be fine pinning the Arrow dependency if they aren't interested in upgrading Java versions.
  4. Java 8 is on the decline, and is not the most used Java version in 2023[5].

[1]https://en.wikipedia.org/wiki/Java_Platform_Module_System
[2]https://github.com/apache/arrow/blob/main/dev/release/verify-release-candidate.sh#L571
[3]#37723 (comment)
[4]#13072 (comment)
[5]https://newrelic.com/sites/default/files/2023-04/new-relic-2023-state-of-the-java-ecosystem-2023-04-20.pdf

Post-upgrade tasks

Component(s)

Java

@kou
Copy link
Member

kou commented Oct 5, 2023

The discussion thread on dev@arrow.apache.org: https://lists.apache.org/thread/s07jx58yw4mkl54t3bkggnyg0sftcrr8

@davisusanibar
Copy link
Contributor

In addition, the following dependencies are pinned for JDK8:

@danepitkin
Copy link
Contributor Author

danepitkin commented Oct 5, 2023

Apache Spark has dropped support for Java 8 and 11 on the main branch (targeting a 4.0 release) apache/spark#43005

Edit: Spark 4.0 release timeframe is 2024-06[1]

[1]https://lists.apache.org/thread/xhkgj60j361gdpywoxxz7qspp2w80ry6

@danepitkin
Copy link
Contributor Author

Netty 5.0 will remove support for Java 8 netty/netty#10650

@danepitkin
Copy link
Contributor Author

The current consensus on the Arrow mailing list[1] is to postpone Java 8 deprecation and to revisit it when Spark releases 4.0, which deprecates Java 8 (~2024-06).

[1] https://lists.apache.org/thread/kml53f81z1oskcf00xl7wlbcjssmn91g

@danepitkin
Copy link
Contributor Author

Apache Derby continuously drops support for older JDK versions #38813

@kevingurney
Copy link
Member

My apologies!

I accidentally unpinned this issue because I thought I had pinned it just for me, by accident. I just repinned it.

@danepitkin
Copy link
Contributor Author

Apache Iceberg is considering dropping java 8 support https://lists.apache.org/thread/ntrk2thvsg9tdccwd4flsdz9gg743368

@danepitkin
Copy link
Contributor Author

New mailing list discussion: https://lists.apache.org/thread/65vqpmrrtpshxo53572zcv91j1lb2y8g

@danepitkin danepitkin changed the title [Java] Remove Java 8 support [Java] Remove Java 8 support in Arrow v18 May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants