Hey Flinkers, I’ve run into an issue and I’m a bi...
# troubleshooting
r
Hey Flinkers, I’ve run into an issue and I’m a bit perplexed at some behavior I’m seeing. I currently have two jobs that are deeply entwined one functions as a “bootstrap” job that runs and the other job will continually wait until the first jobs bootstrapping completes (and creates a savepoint via the
SavepointWriter
) to a predetermined location and uses that with the
initialSavepointPath
which once it completes, the new job will run. Basically: • deployment initiated • bootstrap job runs (if enabled) • regular job runs (waits for bootstrap savepoint from previous step to become available) • bootstrap job finishes • regular job is restored via bootstrap and proceeds to run The job is configured to use in-place autoscaling via the
job.scheduler: adaptive
setting, has high-availability enabled (through GCS), and uses the
last-state
as an upgradeMode. The problem I’m having is the job will restore from the savepoint as expected and begin running, checkpointing, etc. However, I’ve found that either restarting the job (via failure or restartNonce) will cause the job to restore from the original bootstrapped savepoint as opposed to the latest checkpoint. Any ideas or thoughts would be helpful and I’m happy to answer any questions or provide additional info as necessary.
👀 1
g
This is the symptom of https://issues.apache.org/jira/browse/FLINK-34518 What flink version are you using? Does it have the fix?
simple solution would be to upgrade / disable the adaptive scheduler until you can upgrade
r
Thanks so much @Gyula Fóra. I had suspected the scheduler since it was a relatively recent addition and I almost feel as though it happened when things were autoscaled as well that I saw the same behavior.
I have another operator-based question if you have a minute as well. I posted about it on this Stack Overflow post, but it feels like a relatively new problem targeting the same job. Just curious if it’s something that you’ve seen/experienced.
g
I don’t have a quick answer, sorry
r
Okay, no worries. I wasn’t sure if there were any known issues with Hadoop or the GCS plug-in that were recently reported and might have been related.