Karthik Kambatla commented on YARN-2532:

bq. For the FS at least, this is just FSAppAttempt.getDemand() - 
Yes, it is. Tracking pending resources separately is not necessary for 
YARN-2353. However, demand for a queue or an app-attempt changes when the app 
requests more resources (increase in pending resources) or containers complete 
(consumption goes down). Since we want to track the pending resources 
information for YARN-2333, I thought we might as well do that first and use 
that as a trigger to update the demand in YARN-2353. 

> Track pending resources at the application level 
> -------------------------------------------------
>                 Key: YARN-2532
>                 URL: https://issues.apache.org/jira/browse/YARN-2532
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>    Affects Versions: 2.5.1
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
> SchedulerApplicationAttempt keeps track of current consumption of an app. It 
> would be nice to have a similar value tracked for pending requests. 
> The immediate uses I see are: (1) Showing this on the Web UI (YARN-2333) and 
> (2) updating demand in FS in an event-driven style (YARN-2353)

This message was sent by Atlassian JIRA

Reply via email to