notAprogrammer-0 commented on issue #4986: URL: https://github.com/apache/seatunnel/issues/4986#issuecomment-1873579691
> Currently, we can run multiple tasks in local mode using separate JVM instances. The issue likely stems from the hazelcast-client.yaml where cluster-members doesn't include multiple ports. I suggest configuring it like the image shown below: <img alt="image" width="240" src="https://private-user-images.githubusercontent.com/83933160/258575480-746bf90b-5fbb-4c23-afc4-177c15063c65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQxNjAyNjQsIm5iZiI6MTcwNDE1OTk2NCwicGF0aCI6Ii84MzkzMzE2MC8yNTg1NzU0ODAtNzQ2YmY5MGItNWZiYi00YzIzLWFmYzQtMTc3YzE1MDYzYzY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTAyVDAxNDYwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiNDJkMjBkM2I0YzUwYjA0YWUyMTFmOWQ3NDY2ZjkzY2RlNDU1MjAzNDQ3NGI5ZjM1YWZkOGY3Mzc3ZmNiMmMmWC1BbXotU2lnbmVkSG VhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pij2uQ2A5ACDWlATd_LkC-DUdmyOAAv_pR1knlV3QUE"> With this, we can run up to 9 jobs simultaneously I also encountered this problem, but after I configured it according to the picture, it still didn’t work and I reported this error: 2024-01-02 10:04:01,964 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5809: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5809 2024-01-02 10:04:01,964 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5804: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5804 2024-01-02 10:04:01,965 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5803: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5803 2024-01-02 10:04:01,965 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5815: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5815 2024-01-02 10:04:01,965 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5818: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5818 2024-01-02 10:04:01,966 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5802: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5802 2024-01-02 10:04:01,966 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5810: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5810 2024-01-02 10:04:01,966 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5814: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5814 2024-01-02 10:04:01,966 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5806: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5806 2024-01-02 10:04:01,967 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5817: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5817 2024-01-02 10:04:01,967 WARN com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 [seatunnel-503037] [5.1] Exception during initial connection to [localhost]:5813: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5813 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
