-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
[SPARK-44112][BUILD][INFRA][DOCS] Drop support for Java 8 and Java 11 #43005
Closed
Closed
Changes from 8 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4079d7a
init
LuciferYang 4c11396
add old branch publish_snapshot
LuciferYang f7ae713
remove 11 maven build
LuciferYang cb5f8de
test with Scala 2.13
LuciferYang 72b51ad
Revert "test with Scala 2.13"
LuciferYang 4c6f254
SparkBuild
LuciferYang 50d7693
Revert "Revert "test with Scala 2.13""
LuciferYang 7ce64d8
tpcds test scala 2.13
LuciferYang bbeba9a
fix comments
LuciferYang 278cac6
merge publish snapshot java 8 into publish snapshot
LuciferYang 3f11512
Merge branch 'upmaster' into SPARK-44112
LuciferYang bbbed13
Merge branch 'upmaster' into SPARK-44112
LuciferYang c0a330d
remove -Pscala-2.13
LuciferYang 6ca32e3
change to use inputs.java
LuciferYang 2ea3160
add more doc
LuciferYang 54f40ab
infra Dockerfile install openjdk-17-jdk-headless
LuciferYang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
|
||
name: Publish Snapshot using Java 8 | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
publish-snapshot: | ||
if: github.repository == 'apache/spark' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
branch: | ||
LuciferYang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- branch-3.5 | ||
- branch-3.4 | ||
- branch-3.3 | ||
steps: | ||
- name: Checkout Spark repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ matrix.branch }} | ||
- name: Cache Maven local repository | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2/repository | ||
key: snapshot-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
snapshot-maven- | ||
- name: Install Java 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 8 | ||
- name: Publish snapshot | ||
env: | ||
ASF_USERNAME: ${{ secrets.NEXUS_USER }} | ||
ASF_PASSWORD: ${{ secrets.NEXUS_PW }} | ||
GPG_KEY: "not_used" | ||
GPG_PASSPHRASE: "not_used" | ||
GIT_REF: ${{ matrix.branch }} | ||
run: ./dev/create-release/release-build.sh publish-snapshot |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ license: | | |
## Apache Maven | ||
|
||
The Maven-based build is the build of reference for Apache Spark. | ||
Building Spark using Maven requires Maven 3.9.4 and Java 8/11/17. | ||
Building Spark using Maven requires Maven 3.9.4 and Java 17. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add |
||
Spark requires Scala 2.12/2.13; support for Scala 2.11 was removed in Spark 3.0.0. | ||
|
||
### Setting up Maven's Memory Usage | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to think about this part a bit more. I just recalled that branch-3.x will also use this yml, so we may need to add some if conditions.