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

Varun Vasudev updated YARN-5586:
--------------------------------
    Attachment: YARN-5586-YARN-3926.002.patch

Good point. The root bug here really in the getVirtualCores function which 
returns an int. The special handling was just to get round that. I've fixed it 
in a cleaner way.

> Update the Resources class to consider all resource types
> ---------------------------------------------------------
>
>                 Key: YARN-5586
>                 URL: https://issues.apache.org/jira/browse/YARN-5586
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: YARN-5586-YARN-3926.001.patch, 
> YARN-5586-YARN-3926.002.patch
>
>
> The Resources class provides a bunch of useful functions like clone, addTo, 
> etc. These need to be updated to consider all resource types instead of just 
> memory and cpu.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to