[ https://issues.apache.org/jira/browse/YARN-3991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated YARN-3991: ----------------------------------- Labels: capacityscheduler fairscheduler scheduler (was: ) > Investigate if we need an atomic way to set both memory and CPU on Resource > --------------------------------------------------------------------------- > > Key: YARN-3991 > URL: https://issues.apache.org/jira/browse/YARN-3991 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.7.1 > Reporter: Karthik Kambatla > Labels: capacityscheduler, fairscheduler, scheduler > > While reviewing another patch, noticed that we have independent methods to > set memory and CPU. > Do we need another method to set them both atomically? Otherwise, would two > threads trying to set both values lose any updates? -- This message was sent by Atlassian JIRA (v6.3.4#6332)