[
https://issues.apache.org/jira/browse/YARN-9805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927594#comment-16927594
]
Jim Brennan commented on YARN-9805:
-----------------------------------
[~ahussein], before getting into a detailed review of the changes, I think you
need to provide more details about what motivated this change, and specifically
why you think this approach is better than the existing code. Changing the
synchronization approach in key components of the system is tricky, and I don't
think the community is likely to accept this type of change without making a
convincing case for why it is better.
> Fine-grained SchedulerNode synchronization
> ------------------------------------------
>
> Key: YARN-9805
> URL: https://issues.apache.org/jira/browse/YARN-9805
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Ahmed Hussein
> Assignee: Ahmed Hussein
> Priority: Minor
> Attachments: YARN-9805.001.patch, YARN-9805.002.patch,
> YARN-9805.003.patch
>
>
> Yarn schedulerNode and RMNode are using synchronized methods on reading and
> updating the resources.
> Instead, use read-write reentrant locks to provide fine-grained locking and
> to avoid blocking concurrent reads.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]