Re: Rescaling a running topology

2020-02-11 Thread Andrey Zagrebin
Hi Stephen, I am sorry that you had this experience with the rescale API. Unfortunately, the rescale API was always experimental and had some flaws. Recently, Flink community decided to disable it temporarily with the 1.9 release, see more explanation here [1]. I would advise the manual rescaling

Re: Rescaling a running topology

2020-02-07 Thread Stephen Connolly
Ooooh more fun... If I rescale down a job, the job's config at jobs/{jobid}/config does not reflect the new parallelism (there may not even be any way to detect such a parallelism change)... but more critically the job is now unstoppable and seems to end up stuck in the CANCELLING state for some ti

Re: Rescaling a running topology

2020-02-07 Thread Stephen Connolly
And now the job is stuck in a suspended state and I seem to have no way to get it out of that state again! On Fri, 7 Feb 2020 at 11:50, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > The plot thickens... I was able to rescale down... just not back up > again!!! > > root@flink-jobman

Re: Rescaling a running topology

2020-02-07 Thread Stephen Connolly
The plot thickens... I was able to rescale down... just not back up again!!! root@flink-jobmanager-64bcfdf799-jhs7p:/opt/flink# bin/flink list -m localhost:8081 Waiting for response... -- Running/Restarting Jobs --- 07.02.2020 11:26:33 : ebc20a700c334f61ea03ecdf3d89

Rescaling a running topology

2020-02-07 Thread Stephen Connolly
So I am looking at the Flink Management REST API... and, as I see it, there are two paths to rescale a running topology: 1. Stop the topology with a savepoint and then start it up with the new savepoint; or 2. Use the /jobs/:jobid/rescaling