You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (Jira)" <ji...@apache.org> on 2019/12/05 19:47:00 UTC
[jira] [Commented] (YARN-9788) Queue Management API does not
support parallel updates
[ https://issues.apache.org/jira/browse/YARN-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989103#comment-16989103 ]
Szilard Nemeth commented on YARN-9788:
--------------------------------------
Hi [~prabhujoseph]!
As I just committed some of your patches related to this (YARN-9789, YARN-9780, YARN-9781), the latest patch does not apply anymore. Could you please rebase it?
Thanks!
> 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, YARN-9788-003.patch, YARN-9788-004.patch, YARN-9788-005.patch, YARN-9788-006.patch, YARN-9788-007.patch, YARN-9788-008.patch, YARN-9788-009.patch, YARN-9788-010.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.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org