[jira] [Created] (FLINK-11132) Restore From Savepoint on HA Setup
Edmond created FLINK-11132:
Summary: Restore From Savepoint on HA Setup
Issue Type: Bug
Components: State Backends, Checkpointing
Affects Versions: 1.7.0, 1.6.2
When we tried to run it in non-HA mode we just removed the high-availability.* parameters.
Job Manager command before restore:
./standalone-job.sh start-foreground --job-classname com.TestApp -Djobmanager.rpc.address=127.0.0.1 -Dparallelism.default=1 -Dblob.server.port=6124 -Dquery.server.ports=6125
Job Manager command when trying to restore:
./standalone-job.sh start-foreground --job-classname com.TestApp -Djobmanager.rpc.address=127.0.0.1 -Dparallelism.default=1 -Dblob.server.port=6124 -Dquery.server.ports=6125 --fromSavepoint gs://app_bucket/flink_ns/savepoints/savepoint_1/savepoint-000000-e7f1f0f63c41
Task Manager command:
./taskmanager.sh start-foreground -Djobmanager.rpc.address=127.0.0.1
In our current setup we have one job-manager (standalone-job.sh) and one task-manager (taskmanager.sh) deployed as job-cluster in HA mode (ZooKeeper).
We tried to run a simple stateful Flink app that generates periodically checkpoints and savepoints to a shared storage, in order to re-run it again from a specific savepoint later. However, when in HA it a seems that it ignores the savepoint restore flag (--fromSavepoint) and recover from the last checkpoint instead. When we removed the HA configuration, savepoint restoration was successful.
This message was sent by Atlassian JIRA