Browse Source
The previous fix enabled master-to-volume communication but broke client writes. Problem: - Volume server uses -ip=seaweedfs-volume (Docker hostname) - Master can reach it ✓ - Spark tests run on HOST (not in Docker container) - Host can't resolve 'seaweedfs-volume' → UnknownHostException ✗ Solution: - Keep -ip=seaweedfs-volume for master gRPC communication - Change -publicUrl to 'localhost:8080' for host-based clients - Change -max=0 to -max=100 (matches other integration tests) Why -max=100: - Pre-allocates volume capacity at startup - Volumes ready immediately for writes - Consistent with other test configurations - More reliable than on-demand (-max=0) This configuration allows: - Master → Volume: seaweedfs-volume:18080 (Docker network) - Clients → Volume: localhost:8080 (host network via port mapping)pull/7526/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue