You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "kevin su (JIRA)" <ji...@apache.org> on 2019/08/02 09:27:00 UTC

[jira] [Assigned] (YARN-9677) Make FpgaDevice and GpuDevice classes more similar to each other

     [ https://issues.apache.org/jira/browse/YARN-9677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kevin su reassigned YARN-9677:
------------------------------

    Assignee: kevin su

> Make FpgaDevice and GpuDevice classes more similar to each other
> ----------------------------------------------------------------
>
>                 Key: YARN-9677
>                 URL: https://issues.apache.org/jira/browse/YARN-9677
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: kevin su
>            Priority: Major
>              Labels: newbie, newbie++
>
> org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.fpga.FpgaResourceAllocator.FpgaDevice is an inner class of FpgaResourceAllocator.
> It is not only being used from its parent class but from other classes as well so we are losing the purpose of the inner class, it does not really make sense.
> We also have 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDevice which is a similar class, but for GPU devices.
> What we could do here is to make FpgaDevice a single class and harmonize the packages of these 2 classes, meaning they should be "closer" to each other in terms of packaging.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org