Github user EronWright commented on the issue:
https://github.com/apache/flink/pull/4622
@bbayani thanks very much for this contribution. Please confirm my
understanding of the issue and verification. It appears that the resources
that are requested via `TaskInfo` must reference the framework role, otherwise
the resources are actually drawn from the unreserved pool. Your cluster is
configured such that all resources are reserved for a certain role, and so
Flink is unable to launch without this fix despite being configured to use the
role.
Have you verified correct behavior in the case where Flink's role is not
configured (and there is unreserved capacity)? Is the `TaskInfo` role set to
`*` and is that correct?
---