Skip to content

Commit

Permalink
Set SPARK_LOCAL_IP to fix flaky spark session creation (mlflow#4233)
Browse files Browse the repository at this point in the history
* fix

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt2

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt3

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt4

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt5

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* Fix comment position

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* stop using local-cluster

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt2

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt3

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* try HIVE_SERVER2_THRIFT_BIND_HOST

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt2

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt3

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt4

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt5

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* set env in test step

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt2

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt3

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt4

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>

* attempt

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy authored Apr 9, 2021
1 parent a145f59 commit 54d1349
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ jobs:
run: |
source ./dev/install-common-deps.sh
- name: Run tests
env:
# Fix for https://github.com/mlflow/mlflow/issues/4229
SPARK_LOCAL_IP: 127.0.0.1
run: |
export PATH="$CONDA_DIR/bin:$PATH"
source activate test-environment
Expand All @@ -198,6 +201,8 @@ jobs:
run: |
source ./dev/install-common-deps.sh
- name: Run tests
env:
SPARK_LOCAL_IP: 127.0.0.1
run: |
export PATH="$CONDA_DIR/bin:$PATH"
source activate test-environment
Expand Down Expand Up @@ -256,6 +261,8 @@ jobs:
run: |
source ./dev/install-common-deps.sh
- name: Run tests
env:
SPARK_LOCAL_IP: 127.0.0.1
run: |
export PATH="$CONDA_DIR/bin:$PATH"
source activate test-environment
Expand Down Expand Up @@ -295,6 +302,8 @@ jobs:
run: |
source ./dev/install-common-deps.sh
- name: Run tests
env:
SPARK_LOCAL_IP: 127.0.0.1
run: |
export PATH="$CONDA_DIR/bin:$PATH"
source activate test-environment
Expand All @@ -314,6 +323,8 @@ jobs:
run: |
source ./dev/install-common-deps.sh
- name: Run tests
env:
SPARK_LOCAL_IP: 127.0.0.1
run: |
export PATH="$CONDA_DIR/bin:$PATH"
source activate test-environment
Expand Down

0 comments on commit 54d1349

Please sign in to comment.