[ https://issues.apache.org/jira/browse/YARN-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216658#comment-15216658 ]
Sunil G commented on YARN-4895: ------------------------------- Hi [~kkaranasos] Do we need to worry about -ve cases here? Or will it be handled in caller end? > Add subtractFrom method to ResourceUtilization class > ---------------------------------------------------- > > Key: YARN-4895 > URL: https://issues.apache.org/jira/browse/YARN-4895 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Konstantinos Karanasos > Assignee: Konstantinos Karanasos > Attachments: YARN-4895.001.patch > > > In ResourceUtilization class, there is already an addTo method. > For completeness, here we are adding the dual subtractFrom method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)