flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7878) Extend the resource type user can define in ResourceSpec
Date Wed, 13 Dec 2017 16:38:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289494#comment-16289494

ASF GitHub Bot commented on FLINK-7878:

Github user tillrohrmann commented on the issue:

    Changes look good @shuai-xu. I have a single last question which is whether we want to
expose the `GpuResource` to the user or not. Wouldn't it be enough to set the gpus via `Builder#setGpuResource(double)`?
Of course, then we weren't able to set the `ResourceAggregateType` but I'm wondering whether
GPUs shouldn't be something else than the sum. We actually have the same problem with the
cpus. They are hardcoded to be the max of both values.

> Extend the resource type user can define in ResourceSpec
> --------------------------------------------------------
>                 Key: FLINK-7878
>                 URL: https://issues.apache.org/jira/browse/FLINK-7878
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataSet API, DataStream API
>            Reporter: shuai.xu
>            Assignee: shuai.xu
>              Labels: flip-6
> Now, flink only support user define how much CPU and MEM used in an operator, but now
the resource in a cluster is various. For example, an application for image processing may
need GPU, some others may need FPGA. 
> Only CPU and MEM is not enough, and the resource type is becoming more and more, so we
need to make the ResourSpec extendible.

This message was sent by Atlassian JIRA

View raw message