Skip to content

Commit a3d1e00

Browse files
HyukjinKwonwangyum
authored andcommitted
[SPARK-35002][INFRA][FOLLOW-UP] Use localhost instead of 127.0.0.1 at SPARK_LOCAL_IP in GA builds
### What changes were proposed in this pull request? This PR replaces 127.0.0.1 to `localhost`. ### Why are the changes needed? - #32096 (comment) - #32096 (comment) ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? I didn't test it because it's CI specific issue. I will test it in Github Actions build in this PR. Closes #32102 from HyukjinKwon/SPARK-35002. Authored-by: HyukjinKwon <gurwls223@apache.org> Signed-off-by: Yuming Wang <yumwang@ebay.com>
1 parent bfba7fa commit a3d1e00

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
SPARK_BENCHMARK_NUM_SPLITS: ${{ github.event.inputs.num-splits }}
4848
SPARK_BENCHMARK_CUR_SPLIT: ${{ matrix.split }}
4949
SPARK_GENERATE_BENCHMARK_FILES: 1
50-
SPARK_LOCAL_IP: 127.0.0.1
50+
SPARK_LOCAL_IP: localhost
5151
steps:
5252
- name: Checkout Spark repository
5353
uses: actions/checkout@v2

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
CONDA_PREFIX: /usr/share/miniconda
8484
GITHUB_PREV_SHA: ${{ github.event.before }}
8585
GITHUB_INPUT_BRANCH: ${{ github.event.inputs.target }}
86-
SPARK_LOCAL_IP: 127.0.0.1
86+
SPARK_LOCAL_IP: localhost
8787
steps:
8888
- name: Checkout Spark repository
8989
uses: actions/checkout@v2
@@ -172,7 +172,7 @@ jobs:
172172
CONDA_PREFIX: /usr/share/miniconda
173173
GITHUB_PREV_SHA: ${{ github.event.before }}
174174
GITHUB_INPUT_BRANCH: ${{ github.event.inputs.target }}
175-
SPARK_LOCAL_IP: 127.0.0.1
175+
SPARK_LOCAL_IP: localhost
176176
steps:
177177
- name: Checkout Spark repository
178178
uses: actions/checkout@v2
@@ -240,7 +240,7 @@ jobs:
240240
HIVE_PROFILE: hive2.3
241241
GITHUB_PREV_SHA: ${{ github.event.before }}
242242
GITHUB_INPUT_BRANCH: ${{ github.event.inputs.target }}
243-
SPARK_LOCAL_IP: 127.0.0.1
243+
SPARK_LOCAL_IP: localhost
244244
steps:
245245
- name: Checkout Spark repository
246246
uses: actions/checkout@v2
@@ -472,7 +472,7 @@ jobs:
472472
name: Run TPC-DS queries with SF=1
473473
runs-on: ubuntu-20.04
474474
env:
475-
SPARK_LOCAL_IP: 127.0.0.1
475+
SPARK_LOCAL_IP: localhost
476476
steps:
477477
- name: Checkout Spark repository
478478
uses: actions/checkout@v2

0 commit comments

Comments
 (0)