[ https://issues.apache.org/jira/browse/YARN-7316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226802#comment-16226802 ]
Sunil G commented on YARN-7316: ------------------------------- I understood your point well. However post your suggested approach, we will have two ways of operating on resource. First one with {{Resources}} class and second one by directly using calculator itself. I think its better we could have one way of operating on resources, either moving all ops to Resources class or move the common methods from Resources to ResourceCalculator and deprecate Resources class if possible ? > Cleaning up the usage of Resources and ResourceCalculator > --------------------------------------------------------- > > Key: YARN-7316 > URL: https://issues.apache.org/jira/browse/YARN-7316 > Project: Hadoop YARN > Issue Type: Sub-task > Affects Versions: 3.1.0 > Reporter: lovekesh bansal > Assignee: lovekesh bansal > Priority: Minor > Fix For: 3.1.0 > > Attachments: YARN-7316_trunk.001.patch > > > Cleaning up and Uniformizing the usage the usage of Resources and > ResourceCalculator. -- 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