[ 
https://issues.apache.org/jira/browse/YARN-8452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524035#comment-16524035
 ] 

Miklos Szegedi commented on YARN-8452:
--------------------------------------

Thank you for the review [~wilfreds]. I updated the patch. I could imagine 
certain scenarios, where the lock might be needed but I reordered the 
assignments to reduce the overhead and the impact of potential issues.

> FairScheduler.update can take long time if 
> yarn.scheduler.fair.sizebasedweight is on
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-8452
>                 URL: https://issues.apache.org/jira/browse/YARN-8452
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>            Priority: Major
>         Attachments: YARN-8452.000.patch, YARN-8452.001.patch, 
> YARN-8452.002.patch
>
>
> Basically we recalculate the weight every time, even if the inputs did not 
> change. This causes high cpu usage, if the cluster has lots of apps.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to