flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shuai-xu <...@git.apache.org>
Subject [GitHub] flink issue #4911: [FLINK-7878] [api] make resource type extendible in Resou...
Date Tue, 07 Nov 2017 09:47:50 GMT
Github user shuai-xu commented on the issue:

    https://github.com/apache/flink/pull/4911
  
    @tillrohrmann, There is not a generic way for both Yarn and Mesos, as their resource allocation
interface are different. I think the YARN/MESOS resource manager should handle it in their
own way. For example, in YarnResourceManager, it can add all extended resources to the yarn
Resource.class by call setResourceValue(name, value). And then only if YARN support a new
resource type, user can define it without code changing in flink. 


---

Mime
View raw message