Re: Flink HA with Zookeeper and Docker Compose: unable to startup a working setup.

2024-01-15 Thread Yang Wang
Could you please configure the same HA configurations for TaskManager as
well?
It seems that the TaskManager container does not use a correct URL when
contacting with ResourceManager.


Best,
Yang

On Fri, Dec 29, 2023 at 11:13 PM Alessio Bernesco Làvore <
alessio.berne...@gmail.com> wrote:

> Hello,
> i'm trying to setup a testing environment using:
>
> - Flink HA with Zookeeper
> - Docker Compose
>
> While starting the TaskManager generates an exception and then after some
> restarts if fails.
>
> The exception is:
> "Caused by: org.apache.flink.runtime.rpc.exceptions.FencingTokenException:
> Fencing token mismatch: Ignoring message
> RemoteFencedMessage(,
> RemoteRpcInvocation(ResourceManagerGateway.registerTaskExecutor(TaskExecutorRegistration,
> Time))) because the fencing token  did not
> match the expected fencing token ad8c271c31d576247b6c93a5e4ac4da6."
>
> I'm unable to find any information, i've already posted a complete request
> on StackOverlflow, with all the related information:
> https://stackoverflow.com/questions/77689872/flink-ha-with-zookeeper-and-docker-compose-fencingtokenexception-fencing-token
>
> Any help would be appreciated.
>
> Greetings,
> Alessio
>


Flink HA with Zookeeper and Docker Compose: unable to startup a working setup.

2023-12-29 Thread Alessio Bernesco Làvore
Hello,
i'm trying to setup a testing environment using:

- Flink HA with Zookeeper
- Docker Compose

While starting the TaskManager generates an exception and then after some
restarts if fails.

The exception is:
"Caused by: org.apache.flink.runtime.rpc.exceptions.FencingTokenException:
Fencing token mismatch: Ignoring message
RemoteFencedMessage(,
RemoteRpcInvocation(ResourceManagerGateway.registerTaskExecutor(TaskExecutorRegistration,
Time))) because the fencing token  did not
match the expected fencing token ad8c271c31d576247b6c93a5e4ac4da6."

I'm unable to find any information, i've already posted a complete request
on StackOverlflow, with all the related information:
https://stackoverflow.com/questions/77689872/flink-ha-with-zookeeper-and-docker-compose-fencingtokenexception-fencing-token

Any help would be appreciated.

Greetings,
Alessio