Github user tillrohrmann commented on the issue: https://github.com/apache/flink/pull/4911 I think what you are referring to is the current trunk branch of Hadoop where they introduce `ResourceInformation`. Currently, the set of supported resources is `"memory-mb", "vcores", "yarn.io/gpu"`. Given that you have to exactly set these names for the resource which are exclusive for `YARN`, I would actually say that we should explicitly add these resources (e.g. introducing a proper `GPUResource`). That way, this would also work if you let your job run on Mesos without having to adapt the resource names. Adding more resources should be fairly easy and therefore we don't need the generic resource. Does that make sense @shuai-xu.
---