Skip to content

Commit a71abb8

Browse files
authored
Add LIVY for SPARK3 support (#77)
* Add LIVY for SPARK3 support * Add Livy for Spark 3 dependencies Signed-off-by: Anis FATHALLAH <[email protected]>
1 parent da08730 commit a71abb8

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

roles/config/cluster/base/templates/configs/inter-service-dependencies.j2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ SQL_STREAM_BUILDER:
187187
knox_service: knox
188188
{% endif %}
189189

190+
{% if 'LIVY_FOR_SPARK3' in cluster.services %}
191+
LIVY_FOR_SPARK3:
192+
SERVICEWIDE:
193+
yarn_service: yarn
194+
spark3_on_yarn_service: spark3_on_yarn
195+
{% endif %}
196+
190197
TEZ:
191198
SERVICEWIDE:
192199
yarn_service: yarn

roles/config/cluster/common/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ cluster_services_ordered:
8787
- SPARK3_ON_YARN
8888
- SPARK_ON_YARN
8989
- LIVY
90+
- LIVY_FOR_SPARK3
9091
- FLUME
9192
- KS_INDEXER
9293
- LUNA_KMS
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
SPARK3_ON_YARN:
22
- GATEWAY
33
- SPARK3_YARN_HISTORY_SERVER
4+
LIVY_FOR_SPARK3:
5+
- GATEWAY
6+
- LIVY_SERVER_FOR_SPARK3

0 commit comments

Comments
 (0)