Wangda Tan commented on YARN-3091:

I think may it can be a part of separated 
fine-grained-lock-enhancement-for-FairScheduler (If there's other similar 
fine-grained changes needed)? To keep every patches to be easier reviewed, the 
{{AbstractYarnScheduler - CapacityScheduler - FairScheduler}} could address 
only general synchronized lock -> r/w lock.

> [Umbrella] Improve locks of RM scheduler
> ----------------------------------------
>                 Key: YARN-3091
>                 URL: https://issues.apache.org/jira/browse/YARN-3091
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacityscheduler, fairscheduler, resourcemanager, 
> scheduler
>            Reporter: Wangda Tan
> In existing YARN RM scheduler, there're some issues of using locks. For 
> example:
> - Many unnecessary synchronized locks, we have seen several cases recently 
> that too frequent access of scheduler makes scheduler hang. Which could be 
> addressed by using read/write lock. Components include scheduler, CS queues, 
> apps
> - Some fields not properly locked (Like clusterResource)
> We can address them together in this ticket.
> (More details see comments below)

This message was sent by Atlassian JIRA

Reply via email to