hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-401) ClientRMService.getQueueInfo can return stale application reports
Date Mon, 11 May 2015 13:36:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jason Lowe resolved YARN-401.
    Resolution: Duplicate

This was fixed by YARN-2978.

> ClientRMService.getQueueInfo can return stale application reports
> -----------------------------------------------------------------
>                 Key: YARN-401
>                 URL: https://issues.apache.org/jira/browse/YARN-401
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.2-alpha, 0.23.6
>            Reporter: Jason Lowe
>            Priority: Minor
> ClientRMService.getQueueInfo is modifying a QueueInfo object when application reports
are requested.  Unfortunately this QueueInfo object could be a persisting object in the scheduler,
and modifying it in this way can lead to stale application reports being returned to the client.
 Here's an example scenario with CapacityScheduler:
> # A client asks for queue info on queue X with application reports
> # ClientRMService.getQueueInfo modifies the queue's QueueInfo object and sets application
reports on it
> # Another client asks for recursive queue info from the root queue without application
> # Since the old application reports are still attached to queue X's QueueInfo object,
these stale reports appear in the QueueInfo data for queue X in the results
> Normally if the client is not asking for application reports it won't be looking for
and act upon any application reports that happen to appear in the queue info result.  However
we shouldn't be returning application reports in the first place, and when we do, they shouldn't
be stale.

This message was sent by Atlassian JIRA

View raw message