forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'apache:master' into SPARK-49162
- Loading branch information
Showing
1,424 changed files
with
71,351 additions
and
55,699 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -304,7 +304,7 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
with: | ||
name: unit-tests-log-${{ matrix.modules }}-${{ matrix.comment }}-${{ matrix.java }}-${{ matrix.hadoop }}-${{ matrix.hive }} | ||
path: "**/target/unit-tests.log" | ||
path: "**/target/*.log" | ||
|
||
infra-image: | ||
name: "Base image build" | ||
|
@@ -723,7 +723,7 @@ jobs: | |
# See 'ipython_genutils' in SPARK-38517 | ||
# See 'docutils<0.18.0' in SPARK-39421 | ||
python3.9 -m pip install 'sphinx==4.5.0' mkdocs 'pydata_sphinx_theme>=0.13' sphinx-copybutton nbsphinx numpydoc jinja2 markupsafe 'pyzmq<24.0.0' \ | ||
ipython ipython_genutils sphinx_plotly_directive 'numpy>=1.20.0' pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \ | ||
ipython ipython_genutils sphinx_plotly_directive 'numpy==1.26.4' pyarrow pandas 'plotly>=4.8' 'docutils<0.18.0' \ | ||
'flake8==3.9.0' 'mypy==1.8.0' 'pytest==7.1.3' 'pytest-mypy-plugins==1.9.3' 'black==23.9.1' \ | ||
'pandas-stubs==1.2.0.53' 'grpcio==1.62.0' 'grpc-stubs==1.24.11' 'googleapis-common-protos-stubs==2.2.0' \ | ||
'sphinxcontrib-applehelp==1.0.4' 'sphinxcontrib-devhelp==1.0.2' 'sphinxcontrib-htmlhelp==2.0.1' 'sphinxcontrib-qthelp==1.0.3' 'sphinxcontrib-serializinghtml==1.1.5' | ||
|
@@ -867,20 +867,26 @@ jobs: | |
# - docs/README.md | ||
gem install bundler -v 2.4.22 | ||
cd docs | ||
bundle install | ||
bundle install --retry=100 | ||
- name: Run documentation build | ||
run: | | ||
# We need this link to make sure `python3` points to `python3.9` which contains the prerequisite packages. | ||
ln -s "$(which python3.9)" "/usr/local/bin/python3" | ||
# Build docs first with SKIP_API to ensure they are buildable without requiring any | ||
# language docs to be built beforehand. | ||
cd docs; SKIP_API=1 bundle exec jekyll build; cd .. | ||
cd docs; SKIP_ERRORDOC=1 SKIP_API=1 bundle exec jekyll build; cd .. | ||
if [ -f "./dev/is-changed.py" ]; then | ||
# Skip PySpark and SparkR docs while keeping Scala/Java/SQL docs | ||
pyspark_modules=`cd dev && python3.9 -c "import sparktestsupport.modules as m; print(','.join(m.name for m in m.all_modules if m.name.startswith('pyspark')))"` | ||
if [ `./dev/is-changed.py -m $pyspark_modules` = false ]; then export SKIP_PYTHONDOC=1; fi | ||
if [ `./dev/is-changed.py -m sparkr` = false ]; then export SKIP_RDOC=1; fi | ||
fi | ||
# Print the values of environment variables `SKIP_ERRORDOC`, `SKIP_SCALADOC`, `SKIP_PYTHONDOC`, `SKIP_RDOC` and `SKIP_SQLDOC` | ||
echo "SKIP_ERRORDOC: $SKIP_ERRORDOC" | ||
echo "SKIP_SCALADOC: $SKIP_SCALADOC" | ||
echo "SKIP_PYTHONDOC: $SKIP_PYTHONDOC" | ||
echo "SKIP_RDOC: $SKIP_RDOC" | ||
echo "SKIP_SQLDOC: $SKIP_SQLDOC" | ||
cd docs | ||
bundle exec jekyll build | ||
- name: Tar documentation | ||
|
@@ -1106,14 +1112,12 @@ jobs: | |
with: | ||
distribution: zulu | ||
java-version: ${{ inputs.java }} | ||
- name: start minikube | ||
run: | | ||
# See more in "Installation" https://minikube.sigs.k8s.io/docs/start/ | ||
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | ||
sudo install minikube-linux-amd64 /usr/local/bin/minikube | ||
rm minikube-linux-amd64 | ||
- name: Start Minikube | ||
uses: medyagh/[email protected] | ||
with: | ||
# Github Action limit cpu:2, memory: 6947MB, limit to 2U6G for better resource statistic | ||
minikube start --cpus 2 --memory 6144 | ||
cpus: 2 | ||
memory: 6144m | ||
- name: Print K8S pods and nodes info | ||
run: | | ||
kubectl get pods -A | ||
|
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 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 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
Oops, something went wrong.