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

[Python][CI] test-conda-python-3.11-spark-master fails, requires Java 17 #38060

Closed
danepitkin opened this issue Oct 5, 2023 · 2 comments · Fixed by #38082
Closed

[Python][CI] test-conda-python-3.11-spark-master fails, requires Java 17 #38060

danepitkin opened this issue Oct 5, 2023 · 2 comments · Fixed by #38082

Comments

@danepitkin
Copy link
Member

Describe the bug, including details regarding any error messages, version, and platform.

test-conda-python-3.11-spark-master fails with:

Downloaded from gcs-maven-central-mirror: https://maven-central.storage-download.googleapis.com/maven2/com/github/os72/protoc-jar-maven-plugin/3.11.4/protoc-jar-maven-plugin-3.11.4.jar (10 MB at 11 MB/s)
Using `mvn` from path: /spark/build/apache-maven-3.9.4/bin/mvn
Error:  Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.3.0:enforce (enforce-versions) on project spark-parent_2.13: 
Error:  Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion failed with message:
Error:  Detected JDK version 1.8.0-382 (JAVA_HOME=/opt/conda/envs/arrow/jre) is not in the allowed range [17,).
Error:  -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
1
Error: `docker-compose --file /home/runner/work/crossbow/crossbow/arrow/docker-compose.yml run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION=14.0.0.dev256 conda-python-spark` exited with a non-zero exit code 1, see the process log above.

https://github.com/ursacomputing/crossbow/actions/runs/6424410884/job/17445002795

Component(s)

Python

@lidavidm
Copy link
Member

lidavidm commented Oct 5, 2023

I suppose if Spark has dropped Java 8, there's no reason we can't drop Java 8 for Arrow 14 or Arrow 15?

@danepitkin
Copy link
Member Author

+1! I just opened #38051 today.

Arrow v15 is the current target release. I figured it would be better to have more discussion on the mailing list before dropping support.

@kou kou closed this as completed in #38082 Oct 6, 2023
kou pushed a commit that referenced this issue Oct 6, 2023
### Rationale for this change

Spark released 3.5.0 and dropped support for Java 8 and 11 on main.

### What changes are included in this PR?

* Upgrade Spark integration tests from v3.4.1 -> 3.5.0
* Use JDK 17 for Spark latest

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

No
* Closes: #38060

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 14.0.0 milestone Oct 6, 2023
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
### Rationale for this change

Spark released 3.5.0 and dropped support for Java 8 and 11 on main.

### What changes are included in this PR?

* Upgrade Spark integration tests from v3.4.1 -> 3.5.0
* Use JDK 17 for Spark latest

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

No
* Closes: apache#38060

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
### Rationale for this change

Spark released 3.5.0 and dropped support for Java 8 and 11 on main.

### What changes are included in this PR?

* Upgrade Spark integration tests from v3.4.1 -> 3.5.0
* Use JDK 17 for Spark latest

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

No
* Closes: apache#38060

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
### Rationale for this change

Spark released 3.5.0 and dropped support for Java 8 and 11 on main.

### What changes are included in this PR?

* Upgrade Spark integration tests from v3.4.1 -> 3.5.0
* Use JDK 17 for Spark latest

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

No
* Closes: apache#38060

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants