Skip to content

Commit 6799eb4

Browse files
committed
add spark support
1 parent 7a6c418 commit 6799eb4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ services:
293293
- hbase-regionserver
294294
spark:
295295
image: docker.io/bitnami/spark:3
296+
hostname: spark
297+
container_name: spark
296298
environment:
297299
- SPARK_MODE=master
298300
- SPARK_RPC_AUTHENTICATION_ENABLED=no
@@ -303,6 +305,8 @@ services:
303305
- '8082:8080'
304306
spark-worker:
305307
image: docker.io/bitnami/spark:3
308+
hostname: spark-worker
309+
container_name: spark-worker
306310
environment:
307311
- SPARK_MODE=worker
308312
- SPARK_MASTER_URL=spark://spark:7077

0 commit comments

Comments
 (0)