[
https://issues.apache.org/jira/browse/FLINK-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325337#comment-16325337
]
Eron Wright commented on FLINK-8431:
-------------------------------------
Good news, it appears that Fenzo supports generic scalar resources as of 0.10.0
([related
commit|https://github.com/Netflix/Fenzo/commit/c689f5a133ff4e34a7ea3f1ec805a225bf454f9e#diff-b847cf74328e261119031aed8254f4a7]).
See {{com.netflix.fenzo.TaskRequest}} and
{{com.netflix.fenzo.VirtualMachineLease}}.
It should be possible to extend
{{org.apache.flink.mesos.runtime.clusterframework.LaunchableMesosWorker}} to
convey a GPU requirement as a generic scalar resource. We just need to update
the Fenzo dependency to a newer version. I'm not aware of any impediment to
using the latest version, but be sure to add me to the PR review.
> Allow to specify # GPUs for TaskManager in Mesos
> ------------------------------------------------
>
> Key: FLINK-8431
> URL: https://issues.apache.org/jira/browse/FLINK-8431
> Project: Flink
> Issue Type: Improvement
> Components: Cluster Management, Mesos
> Reporter: Dongwon Kim
> Assignee: Dongwon Kim
> Priority: Minor
>
> Mesos provides first-class support for Nvidia GPUs [1], but Flink does not
> exploit it when scheduling TaskManagers. If Mesos agents are configured to
> isolate GPUs as shown in [2], TaskManagers that do not specify to use GPUs
> cannot see GPUs at all.
> We, therefore, need to introduce a new configuration property named
> "mesos.resourcemanager.tasks.gpus" to allow users to specify # of GPUs for
> each TaskManager process in Mesos.
> [1] http://mesos.apache.org/documentation/latest/gpu-support/
> [2] http://mesos.apache.org/documentation/latest/gpu-support/#agent-flags
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)