Karthik Kambatla created YARN-3991:
--------------------------------------
Summary: 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
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)