You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sunil Govindan (JIRA)" <ji...@apache.org> on 2018/11/17 03:23:08 UTC

[jira] [Updated] (YARN-4988) Limit filter in ApplicationBaseProtocol#getApplications should return latest applications

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

Sunil Govindan updated YARN-4988:
---------------------------------
    Target Version/s: 3.3.0  (was: 3.2.0)

Bulk update: moved all 3.2.0 non-blocker issues, please move back if it is a blocker.

> Limit filter in ApplicationBaseProtocol#getApplications should return latest applications
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-4988
>                 URL: https://issues.apache.org/jira/browse/YARN-4988
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>            Priority: Major
>              Labels: oct16-medium
>         Attachments: YARN-4988-wip.patch
>
>
> When ever limit filter is used to get application report using ApplicationBaseProtocol#getApplications, the applications retrieved are not the latest. The retrieved applications are random based on the hashcode. 
> The reason for above problem is RM maintains the apps in MAP where in insertion of application id is based on the hashcode. So if there are 10 applications from app-1 to app-10 and then limit is 5, then supposed to expect that applications from app-6 to app-10 should be retrieved. But now some first 5 apps in the MAP are retrieved. So applications retrieved are random 5!!
> I think limit should retrieve latest applications only.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org