@@ -546,7 +546,7 @@ jobs:
546
546
spark : [ "spark-3.2" ]
547
547
celeborn : [ "celeborn-0.5.2", "celeborn-0.4.2", "celeborn-0.3.2-incubating" ]
548
548
runs-on : ubuntu-20.04
549
- container : ubuntu:22.04
549
+ container : apache/gluten:centos-8
550
550
steps :
551
551
- uses : actions/checkout@v2
552
552
- name : Download All Native Artifacts
@@ -559,15 +559,6 @@ jobs:
559
559
with :
560
560
name : arrow-jars-centos-7-${{github.sha}}
561
561
path : /root/.m2/repository/org/apache/arrow/
562
- - name : Setup tzdata
563
- run : |
564
- apt-get update
565
- TZ="Etc/GMT" DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
566
- - name : Setup java and maven
567
- run : |
568
- apt-get update && apt-get install -y openjdk-8-jdk maven wget
569
- apt remove openjdk-11* -y
570
- echo "JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $GITHUB_ENV
571
562
- name : Build for Spark ${{ matrix.spark }}
572
563
run : |
573
564
cd $GITHUB_WORKSPACE/
@@ -582,7 +573,6 @@ jobs:
582
573
fi
583
574
echo "EXTRA_PROFILE: ${EXTRA_PROFILE}"
584
575
cd /opt && mkdir -p celeborn && \
585
- ${WGET_CMD} https://archive.apache.org/dist/celeborn/${{ matrix.celeborn }}/apache-${{ matrix.celeborn }}-bin.tgz && \
586
576
tar xzf apache-${{ matrix.celeborn }}-bin.tgz -C /opt/celeborn --strip-components=1 && cd celeborn && \
587
577
mv ./conf/celeborn-env.sh.template ./conf/celeborn-env.sh && \
588
578
bash -c "echo -e 'CELEBORN_MASTER_MEMORY=4g\nCELEBORN_WORKER_MEMORY=4g\nCELEBORN_WORKER_OFFHEAP_MEMORY=8g' > ./conf/celeborn-env.sh" && \
@@ -608,9 +598,8 @@ jobs:
608
598
with :
609
599
name : arrow-jars-centos-7-${{github.sha}}
610
600
path : /root/.m2/repository/org/apache/arrow/
611
- - name : Prepare spark.test.home for Spark 3.2.2 (other tests)
601
+ - name : Prepare
612
602
run : |
613
- bash .github/workflows/util/install_spark_resources.sh 3.2
614
603
dnf module -y install python39 && \
615
604
alternatives --set python3 /usr/bin/python3.9 && \
616
605
pip3 install setuptools && \
@@ -652,9 +641,6 @@ jobs:
652
641
with :
653
642
name : arrow-jars-centos-7-${{github.sha}}
654
643
path : /root/.m2/repository/org/apache/arrow/
655
- - name : Prepare spark.test.home for Spark 3.2.2 (slow tests)
656
- run : |
657
- bash .github/workflows/util/install_spark_resources.sh 3.2
658
644
- name : Build and run unit test for Spark 3.2.2 (slow tests)
659
645
run : |
660
646
cd $GITHUB_WORKSPACE/
@@ -683,9 +669,8 @@ jobs:
683
669
with :
684
670
name : arrow-jars-centos-7-${{github.sha}}
685
671
path : /root/.m2/repository/org/apache/arrow/
686
- - name : Prepare spark.test.home for Spark 3.3.1 (other tests)
672
+ - name : Prepare
687
673
run : |
688
- bash .github/workflows/util/install_spark_resources.sh 3.3
689
674
dnf module -y install python39 && \
690
675
alternatives --set python3 /usr/bin/python3.9 && \
691
676
pip3 install setuptools && \
@@ -728,9 +713,7 @@ jobs:
728
713
with :
729
714
name : arrow-jars-centos-7-${{github.sha}}
730
715
path : /root/.m2/repository/org/apache/arrow/
731
- - name : Prepare spark.test.home for Spark 3.3.1 (slow tests)
732
- run : |
733
- bash .github/workflows/util/install_spark_resources.sh 3.3
716
+
734
717
- name : Build and Run unit test for Spark 3.3.1 (slow tests)
735
718
run : |
736
719
cd $GITHUB_WORKSPACE/
@@ -760,9 +743,8 @@ jobs:
760
743
with :
761
744
name : arrow-jars-centos-7-${{github.sha}}
762
745
path : /root/.m2/repository/org/apache/arrow/
763
- - name : Prepare spark.test.home for Spark 3.4.3 (other tests)
746
+ - name : Prepare
764
747
run : |
765
- bash .github/workflows/util/install_spark_resources.sh 3.4
766
748
dnf module -y install python39 && \
767
749
alternatives --set python3 /usr/bin/python3.9 && \
768
750
pip3 install setuptools && \
@@ -805,9 +787,6 @@ jobs:
805
787
with :
806
788
name : arrow-jars-centos-7-${{github.sha}}
807
789
path : /root/.m2/repository/org/apache/arrow/
808
- - name : Prepare spark.test.home for Spark 3.4.3 (slow tests)
809
- run : |
810
- bash .github/workflows/util/install_spark_resources.sh 3.4
811
790
- name : Build and Run unit test for Spark 3.4.3 (slow tests)
812
791
run : |
813
792
cd $GITHUB_WORKSPACE/
@@ -837,9 +816,8 @@ jobs:
837
816
with :
838
817
name : arrow-jars-centos-7-${{github.sha}}
839
818
path : /root/.m2/repository/org/apache/arrow/
840
- - name : Prepare spark.test.home for Spark 3.5.2 (other tests)
819
+ - name : Prepare
841
820
run : |
842
- bash .github/workflows/util/install_spark_resources.sh 3.5
843
821
dnf module -y install python39 && \
844
822
alternatives --set python3 /usr/bin/python3.9 && \
845
823
pip3 install setuptools && \
@@ -881,9 +859,8 @@ jobs:
881
859
with :
882
860
name : arrow-jars-centos-7-${{github.sha}}
883
861
path : /root/.m2/repository/org/apache/arrow/
884
- - name : Prepare spark.test.home for Spark 3.5.2 (other tests)
862
+ - name : Prepare
885
863
run : |
886
- bash .github/workflows/util/install_spark_resources.sh 3.5-scala2.13
887
864
dnf module -y install python39 && \
888
865
alternatives --set python3 /usr/bin/python3.9 && \
889
866
pip3 install setuptools && \
@@ -919,9 +896,6 @@ jobs:
919
896
with :
920
897
name : arrow-jars-centos-7-${{github.sha}}
921
898
path : /root/.m2/repository/org/apache/arrow/
922
- - name : Prepare spark.test.home for Spark 3.5.2 (slow tests)
923
- run : |
924
- bash .github/workflows/util/install_spark_resources.sh 3.5
925
899
- name : Build and Run unit test for Spark 3.5.2 (slow tests)
926
900
run : |
927
901
cd $GITHUB_WORKSPACE/
@@ -951,9 +925,8 @@ jobs:
951
925
with :
952
926
name : arrow-jars-centos-7-${{github.sha}}
953
927
path : /root/.m2/repository/org/apache/arrow/
954
- - name : Prepare spark.test.home for Spark 3.5.2 (other tests)
928
+ - name : Prepare
955
929
run : |
956
- bash .github/workflows/util/install_spark_resources.sh 3.5
957
930
dnf module -y install python39 && \
958
931
alternatives --set python3 /usr/bin/python3.9 && \
959
932
pip3 install setuptools && \
@@ -988,9 +961,6 @@ jobs:
988
961
with :
989
962
name : arrow-jars-centos-7-${{github.sha}}
990
963
path : /root/.m2/repository/org/apache/arrow/
991
- - name : Prepare spark.test.home for Spark 3.5.2 (slow tests)
992
- run : |
993
- bash .github/workflows/util/install_spark_resources.sh 3.5
994
964
- name : Build and Run unit test for Spark 3.5.2 (slow tests)
995
965
run : |
996
966
cd $GITHUB_WORKSPACE/
0 commit comments