Skip to content

Commit 4b904a9

Browse files
authored
make Spark on Mesos use old spark shuffle fetch protocol (#85)
* make Spark on Mesos use old spark shuffle fetch protocol * bump requirements to appease github CI; bump package patch version
1 parent 44cbfb2 commit 4b904a9

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
importlib-resources==1.5.0
1+
importlib-resources==5.4.0
22
pyinotify==0.9.6
33
pyyaml >= 3.0

service_configuration_lib/spark_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ def _get_mesos_spark_env(
616616
'spark.mesos.constraints': f'pool:{paasta_pool}',
617617
'spark.mesos.executor.docker.forcePullImage': 'true',
618618
'spark.mesos.principal': 'spark',
619+
'spark.shuffle.useOldFetchProtocol': 'true',
619620
**auth_configs,
620621
**_get_mesos_docker_volumes_conf(
621622
user_spark_opts, extra_volumes,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='service-configuration-lib',
20-
version='2.11.0',
20+
version='2.11.1',
2121
provides=['service_configuration_lib'],
2222
description='Start, stop, and inspect Yelp SOA services',
2323
url='https://github.com/Yelp/service_configuration_lib',

tests/spark_config_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ def verify(output):
929929
'spark.mesos.executor.docker.forcePullImage': 'true',
930930
'spark.mesos.constraints': f'pool:{self.pool}',
931931
'spark.mesos.principal': 'spark',
932+
'spark.shuffle.useOldFetchProtocol': 'true',
932933
}
933934
for key, value in expected_output.items():
934935
assert output[key] == value

0 commit comments

Comments
 (0)