[
https://issues.apache.org/jira/browse/YARN-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prabhu Joseph updated YARN-9788:
--------------------------------
Description:
Queue Management API - does not support parallel updates. When there are two
parallel schedule conf updates (logAndApplyMutation), the first update is
overwritten by the second one.
Currently the logAndApplyMutation creates LogMutation and stores it in a
variable pendingMutation. This way at any given time there will be only one
LogMutation. And so the two parallel logAndApplyMutation will override the
pendingMutation and the later one only will be present.
The fix is to return LogMutation object by logAndApplyMutation which can be
passed during confirmMutation. This fixes the parallel updates.
was:
Queue Management API - does not support parallel updates. When there are two
parallel schedule conf updates (logAndApplyMutation), the first update is
overwritten by the second one.
> Queue Management API - does not support parallel updates
> --------------------------------------------------------
>
> Key: YARN-9788
> URL: https://issues.apache.org/jira/browse/YARN-9788
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler
> Affects Versions: 3.3.0
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
> Attachments: YARN-9788-001.patch, YARN-9788-002.patch
>
>
> Queue Management API - does not support parallel updates. When there are two
> parallel schedule conf updates (logAndApplyMutation), the first update is
> overwritten by the second one.
> Currently the logAndApplyMutation creates LogMutation and stores it in a
> variable pendingMutation. This way at any given time there will be only one
> LogMutation. And so the two parallel logAndApplyMutation will override the
> pendingMutation and the later one only will be present.
> The fix is to return LogMutation object by logAndApplyMutation which can be
> passed during confirmMutation. This fixes the parallel updates.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]