[ https://issues.apache.org/jira/browse/MYRIAD-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409451#comment-15409451 ]
DarinJ commented on MYRIAD-236: ------------------------------- I think this relates to [MYRIAD-199] as well, I put increment and decrement methods in with the intention of eventually making setNodeCapacitiy private/protected. > YarnNodeCapacityManager--enable reset in setNodeCapacity or make > setNodeCapacity protected/private > -------------------------------------------------------------------------------------------------- > > Key: MYRIAD-236 > URL: https://issues.apache.org/jira/browse/MYRIAD-236 > Project: Myriad > Issue Type: Bug > Reporter: John Yost > Priority: Minor > > Currently the setNodeCapacity method does not enable setting of the node > capacity to a specific value--only incrementing or decrementing. Moreover, > the incrementNodeCapacity and decrementNodeCapacity methods both delegate to > setNodeCapacity. I recommend one of two options: (1) adding the capability > to set the node capacity to a specific value and enable this capability > within the GUI or (2) making setNodeCapacity protected or private. > If there are use cases for option (1) where it would be good to set to a > specific capacity--irrespective of the current capacity--I recommend that one. > This issue arose during my work on MYRIAD-229, so I can fix it within that > branch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)