We observe this behavior since our migration to flink 1.13.2.
/jobs GET endpoint returns the same job id twice :
/jobs/overview GET returns :
Of course, this also shows up on the overview page of the job-manager web UI.
/jobs/8bde1f30e0ec30d511a996b74ab2e12 returns details of the RUNNING job.
flink stop command stops the running job and both jobs disappear from /jobs and /jobs/overview
We observed this several times on clusters we have migrated to flink 1.13.2, not sure yet how / when it happens.
I noticed this issue : https://issues.apache.org/jira/browse/FLINK-20195 , it may be related but this is not exactly the same issue, I get this response until job is canceled / stopped.