Wangda Tan commented on YARN-6789:

Thanks [~sunilg],

One comments regarding to ResourceTypeInfo:
There's a {{getMinimumUnit}} inside ResourceTypeInfo, I'm not quite sure what 
does it mean. For example, if we have minimumUnit=MB specified for memory, it 
is also make sense to specify memory equals to KB/Bytes since we can round the 
value in any case. 

I think we're going to preserve "units" in ResourceInformation object, correct? 
If so, why we need to add unit in the ResourceTypeInfo? For example, if an app 
wants to know quota of resources, the app can get quota with unit from the 
Resource object.

> new api to get all supported resources from RM
> ----------------------------------------------
>                 Key: YARN-6789
>                 URL: https://issues.apache.org/jira/browse/YARN-6789
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: YARN-6789-YARN-3926.001.patch
> It will be better to provide an api to get all supported resource types from 
> RM.

This message was sent by Atlassian JIRA

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

Reply via email to