[ 
https://issues.apache.org/jira/browse/YARN-9095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722564#comment-16722564
 ] 

ASF GitHub Bot commented on YARN-9095:
--------------------------------------

Github user vbmudalige commented on the issue:

    https://github.com/apache/hadoop/pull/445
  
    This commit was pushed to trunk.


> 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: Minor
>              Labels: newbie
>             Fix For: 3.3.0
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to