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 "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2018/12/15 07:08:00 UTC

[jira] [Updated] (YARN-9095) Removed Unused field from Resource: NUM_MANDATORY_RESOURCES

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

Akira Ajisaka updated YARN-9095:
--------------------------------
    Attachment: 445.patch

> Removed Unused field from Resource: NUM_MANDATORY_RESOURCES
> -----------------------------------------------------------
>
>                 Key: YARN-9095
>                 URL: https://issues.apache.org/jira/browse/YARN-9095
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Vidura Bhathiya Mudalige
>            Priority: Trivial
>              Labels: newbie, newbie++
>         Attachments: 445.patch
>
>
> I suppose this constant remained in the code from historical reasons, but this is not used anymore so it could be removed.
> This field is especially confusing for new readers, as ResourceInformation now has a field named MANDATORY_RESOURCES and this map contains not only memory and vcores but GPU and FPGA as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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