Re: Not enough free slots to run the job
Posted by
rmetzger0 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Not-enough-free-slots-to-run-the-job-tp5630p5671.html
Hi Ovidiu,
right now the scheduler in Flink will not use more slots than requested.
To avoid issues on recovery, we usually recommend users to have some spare slots (run job with p=15 on a cluster with slots=20). I agree that it would make sense to add a flag which allows a job to grab more slots if they are available. The problem with that is however, that jobs can currently not change their parallelism. So if a job fails, it can not downscale to restart on the remaining slots.
That's why the spare slots approach is currently the only way to go.
Regards,
Robert