You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "ccoffline (via GitHub)" <gi...@apache.org> on 2026/02/14 06:19:09 UTC
[I] [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml [seatunnel]
ccoffline opened a new issue, #10496:
URL: https://github.com/apache/seatunnel/issues/10496
`hazelcast-client.yaml`
```yaml
hazelcast-client:
cluster-name: seatunnel
properties:
hazelcast.logging.type: log4j2
connection-strategy:
connection-retry:
cluster-connect-timeout-millis: 3000
network:
cluster-members:
- *.*.*.*:5801
# I have tried both with port and without. Still doesn't work.
- *.*.*.*
```
`hazelcast.yaml`
```yaml
hazelcast:
cluster-name: seatunnel
network:
port:
auto-increment: false
port: 5801
rest-api:
enabled: true
endpoint-groups:
CLUSTER_WRITE:
enabled: true
DATA:
enabled: true
join:
tcp-ip:
enabled: true
member-list:
- *.*.*.*
```
`seatunnel.yaml`
```yaml
seatunnel:
engine:
classloader-cache-mode: true
history-job-expire-minutes: 1440
backup-count: 1
queue-type: blockingqueue
print-execution-info-interval: 60
print-job-metrics-info-interval: 60
slot-service:
dynamic-slot: true
checkpoint:
interval: 10000
timeout: 60000
storage:
type: hdfs
max-retained: 3
plugin-config:
***
telemetry:
metric:
enabled: false
logs:
scheduled-deletion-enable: true
http:
enable-http: true
port: 5800
enable-dynamic-port: false
```
```bash
docker exec -it seatunnel /opt/seatunnel/bin/seatunnel.sh -l
2026-02-14 14:08:17,814 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Loading configuration '/opt/seatunnel/config/seatunnel.yaml' from System property 'seatunnel.config'
2026-02-14 14:08:17,817 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Using configuration file at /opt/seatunnel/config/seatunnel.yaml
2026-02-14 14:08:17,819 INFO [o.a.s.e.c.c.SeaTunnelConfig ] [main] - seatunnel.home is /opt/seatunnel
2026-02-14 14:08:17,903 INFO [amlSeaTunnelDomConfigProcessor] [main] - Dynamic slot is enabled, the schedule strategy is set to REJECT
2026-02-14 14:08:17,903 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Loading configuration '/opt/seatunnel/config/hazelcast.yaml' from System property 'hazelcast.config'
2026-02-14 14:08:17,903 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Using configuration file at /opt/seatunnel/config/hazelcast.yaml
2026-02-14 14:08:18,162 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Loading configuration '/opt/seatunnel/config/hazelcast-client.yaml' from System property 'hazelcast.client.config'
2026-02-14 14:08:18,162 INFO [c.h.i.c.AbstractConfigLocator ] [main] - Using configuration file at /opt/seatunnel/config/hazelcast-client.yaml
2026-02-14 14:08:18,449 INFO [.c.i.s.ClientInvocationService] [main] - hz.client_1 [seatunnel] [5.1] Running with 2 response threads, dynamic=true
2026-02-14 14:08:18,510 INFO [c.h.c.LifecycleService ] [main] - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is STARTING
2026-02-14 14:08:18,510 INFO [c.h.c.LifecycleService ] [main] - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is STARTED
2026-02-14 14:08:18,532 INFO [.c.i.c.ClientConnectionManager] [main] - hz.client_1 [seatunnel] [5.1] Trying to connect to cluster: seatunnel
2026-02-14 14:08:18,534 INFO [.c.i.c.ClientConnectionManager] [main] - hz.client_1 [seatunnel] [5.1] Trying to connect to [***]:5701
2026-02-14 14:08:18,542 WARN [.c.i.c.ClientConnectionManager] [main] - hz.client_1 [seatunnel] [5.1] Exception during initial connection to [***]:5701: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address /***:5701
2026-02-14 14:08:18,542 INFO [.c.i.c.ClientConnectionManager] [main] - hz.client_1 [seatunnel] [5.1] Trying to connect to [***]:5701
2026-02-14 14:08:18,543 WARN [.c.i.c.ClientConnectionManager] [main] - hz.client_1 [seatunnel] [5.1] Exception during initial connection to [***]:5701: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address /***:5701
```
I know that hazelcast use 5701 in default but I have config everywhere to be 5801.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml [seatunnel]
Posted by "ccoffline (via GitHub)" <gi...@apache.org>.
ccoffline closed issue #10496: [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml
URL: https://github.com/apache/seatunnel/issues/10496
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml [seatunnel]
Posted by "DanielCarter-stack (via GitHub)" <gi...@apache.org>.
DanielCarter-stack commented on issue #10496:
URL: https://github.com/apache/seatunnel/issues/10496#issuecomment-3901324938
<!-- code-pr-reviewer -->
Based on the repository analysis, SeaTunnel defaults to port 5801 in both `config/hazelcast-client.yaml` and `deploy/kubernetes/seatunnel/conf/hazelcast-client.yaml`. The port 5701 behavior you're observing is Hazelcast's default when no port is specified in `cluster-members` addresses.
Key points from the codebase:
- `seatunnel-engine-common/src/main/java/org/apache/seatunnel/engine/common/config/ConfigProvider.java:99-120` shows client config loading via `ST_DOCKER_MEMBER_LIST` env var or YAML file
- `seatunnel-starter/src/main/java/org/apache/seatunnel/core/starter/seatunnel/command/ClientExecuteCommand.java:102-105` confirms Local mode dynamically fetches the actual server port
To troubleshoot, please verify:
1. What's the actual content inside the container at `/opt/seatunnel/config/hazelcast-client.yaml`?
2. Is the `ST_DOCKER_MEMBER_LIST` environment variable set (it overrides YAML config)?
3. Are your `cluster-members` entries explicitly specifying `:5801` (without port, Hazelcast defaults to 5701)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml [seatunnel]
Posted by "ccoffline (via GitHub)" <gi...@apache.org>.
ccoffline commented on issue #10496:
URL: https://github.com/apache/seatunnel/issues/10496#issuecomment-3948405235
@DanielCarter-stack Thank you for your assistance! It works by adding ports to `ST_DOCKER_MEMBER_LIST`.
This may be a mistake in the [Official Document](https://seatunnel.apache.org/docs/2.3.12/start-v2/docker/) that `ST_DOCKER_MEMBER_LIST` in docker command is correctly carried with ports but in demo `docker-compose.yaml` is not. I followed AI and this official doc that caused this error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Help] seatunnel client use 5701 instead of 5801 in hazelcast.yaml and hazelcast-client.yaml [seatunnel]
Posted by "ccoffline (via GitHub)" <gi...@apache.org>.
ccoffline commented on issue #10496:
URL: https://github.com/apache/seatunnel/issues/10496#issuecomment-3903097672
`docker-compose.yaml`
```yaml
services:
seatunnel:
image: ***:5000/apache/seatunnel:2.3.12
container_name: seatunnel
restart: always
user: root
network_mode: host
environment:
TZ: Asia/Shanghai
ST_DOCKER_MEMBER_LIST: *.*.*.90,*.*.*.91,*.*.*.92
volumes:
- ./config:/opt/seatunnel/config
- ./jobs:/opt/seatunnel/jobs
command: /opt/seatunnel/bin/seatunnel-cluster.sh
```
Should I use `*.*.*.*:5801` in `ST_DOCKER_MEMBER_LIST`? I'm gonna try this after new year.
Can confirm docker container is using the right `/opt/seatunnel/config/hazelcast-client.yaml` and I tried explicitly specifying `:5801` in `cluster-members` still doesn't work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org