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

Konstantinos Karanasos commented on YARN-4412:
----------------------------------------------

bq. I understand only the wait time is relevant currently.. but in case we do 
need to add more fields, it might be more effort later (also, we would need to 
remove the wait time field and add the ContainerQueue object). I will remove 
the rest of the fields though... and I was thinking of renaming it to 
'QueuedContainersInfo'
Agreed, let's keep the new object with only the estimated queue wait time field 
for now.
I was also thinking of renaming it to either QueuedContainersInfo or 
QueuedContainersStatus (slight preference on the latter).

bq. Understand.. will get rid of it (Although I really like the idea of keeping 
it there.. with a default value of 0, so people can run tests with some 
randomization)
Let's get rid of it for now to keep things simpler (unless we think it is 
important to have those tests).

bq. Oh, I actually wanted to keep it separate (the top K compute interval and 
corrective mechanism calculation), since then we can have both running on 
different threads and different frequencies (I was planning on having another 
class to compute it as part of YARN-2888)
Makes sense.

bq. Yup, it is required... Since the DistributedSchedulingService is going to 
work off the same order of events as the scheduler, we would not want to flood 
it, hence the event queue.. which is why I abstracted it out. Also I didnt see 
the point of opening another JIRA just for the refactor.
Agreed, just wanted to double-check.

> Create ClusterMonitor to compute ordered list of preferred NMs for 
> OPPORTUNITIC containers
> ------------------------------------------------------------------------------------------
>
>                 Key: YARN-4412
>                 URL: https://issues.apache.org/jira/browse/YARN-4412
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: YARN-4412-yarn-2877.v1.patch
>
>
> Introduce a Cluster Monitor that aggregates load information from individual 
> Node Managers and computes an ordered list of preferred Node managers to be 
> used as target Nodes for OPPORTUNISTIC container allocations. 
> This list can be pushed out to the Node Manager (specifically the AMRMProxy 
> running on the Node) via the Allocate Response. This will be used to make 
> local Scheduling decisions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to