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

Sunil G commented on YARN-7043:
-------------------------------

bq.Why the additional casts in DRC#multiplyAndNormalize
YARN-6428 has added this casting. With resource profile, we wanted to do it 
more cleaner as same method is used differently in resource profile branch. 
Hence I am handling here rather than doing it while rebasing.

> Cleanup ResourceProfileManager
> ------------------------------
>
>                 Key: YARN-7043
>                 URL: https://issues.apache.org/jira/browse/YARN-7043
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>            Priority: Critical
>         Attachments: YARN-7043.YARN-3926.001.patch, 
> YARN-7043.YARN-3926.002.patch
>
>
> Several cleanups we can do for ResourceProfileManager:
> 1) Move GetResourceTypesInfo from profile manager to ResourceUtils.
> 2) Move logics to check profile enabled, etc. from ClientRMService to 
> ResourceUtils.
> 3) Throw exception when resource profile is disabled and method accessed by 
> other modules.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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