Browse Source

fix: add -peers=none to master command for standalone mode

- Ensures master runs in standalone single-node mode
- Prevents master from trying to form a cluster
- Required for proper initialization in test environment
pull/7526/head
chrislu 7 days ago
parent
commit
dd9c1c6190
  1. 2
      test/java/spark/docker-compose.yml

2
test/java/spark/docker-compose.yml

@ -8,7 +8,7 @@ services:
ports: ports:
- "9333:9333" - "9333:9333"
- "19333:19333" - "19333:19333"
command: "master -ip=seaweedfs-master -ip.bind=0.0.0.0"
command: "master -ip=seaweedfs-master -ip.bind=0.0.0.0 -peers=none"
networks: networks:
- seaweedfs-spark - seaweedfs-spark

Loading…
Cancel
Save