Skip to content

Commit 0e89a57

Browse files
authored
build: Specify SPARK_LOCAL_HOSTNAME to fix CI failures (#2353)
1 parent 7620ebc commit 0e89a57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/java-test/action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,17 @@ runs:
6767
if: ${{ inputs.suites == '' }}
6868
env:
6969
COMET_PARQUET_SCAN_IMPL: ${{ inputs.scan_impl }}
70+
SPARK_LOCAL_HOSTNAME: "localhost"
71+
SPARK_LOCAL_IP: "127.0.0.1"
7072
run: |
7173
MAVEN_OPTS="-Xmx4G -Xms2G -XX:+UnlockDiagnosticVMOptions -XX:+ShowMessageBoxOnError -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=./hs_err_pid%p.log" SPARK_HOME=`pwd` ./mvnw -B clean install ${{ inputs.maven_opts }}
7274
- name: Run specified tests
7375
shell: bash
7476
if: ${{ inputs.suites != '' }}
7577
env:
7678
COMET_PARQUET_SCAN_IMPL: ${{ inputs.scan_impl }}
79+
SPARK_LOCAL_HOSTNAME: "localhost"
80+
SPARK_LOCAL_IP: "127.0.0.1"
7781
run: |
7882
MAVEN_SUITES="$(echo "${{ inputs.suites }}" | paste -sd, -)"
7983
echo "Running with MAVEN_SUITES=$MAVEN_SUITES"

0 commit comments

Comments
 (0)