You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Jayant Ameta <wi...@gmail.com> on 2017/12/14 11:22:29 UTC

Fwd: Replace classes at runtime

Jayant Ameta

---------- Forwarded message ----------
From: Jayant Ameta <wi...@gmail.com>
Date: Thu, Dec 14, 2017 at 4:46 PM
Subject: Replace classes at runtime
To: user <us...@flink.apache.org>


Hi,
I need to update a few classes of my flink job at runtime. What would be
the best way to achieve this?

Re: Fwd: Replace classes at runtime

Posted by Jayant Ameta <wi...@gmail.com>.
Hi Gordon,
Is there a way to update the job application without any downtime?

Jayant Ameta

On Tue, Dec 19, 2017 at 12:09 AM, Tzu-Li (Gordon) Tai <tz...@apache.org>
wrote:

> Hi Jayant,
>
> Updating your job application / operator code at runtime is currently not
> available in Flink.
> It is however achievable via taking a savepoint of your job, and then
> restoring from the savepoint with your upgraded application.
>
> There's a few points to keep in mind, especially job state compatibility,
> to
> allow smooth upgrades.
> Please take a look at Upgrading Applications here [1] for more details on
> that.
>
> Cheers,
> Gordon
>
> [1]
> https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/upgrading.
> html#restarting-streaming-applications
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.
> n4.nabble.com/
>

Re: Fwd: Replace classes at runtime

Posted by "Tzu-Li (Gordon) Tai" <tz...@apache.org>.
Hi Jayant,

Updating your job application / operator code at runtime is currently not
available in Flink.
It is however achievable via taking a savepoint of your job, and then
restoring from the savepoint with your upgraded application.

There's a few points to keep in mind, especially job state compatibility, to
allow smooth upgrades.
Please take a look at Upgrading Applications here [1] for more details on
that.

Cheers,
Gordon

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/upgrading.html#restarting-streaming-applications



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/