hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4988) Limit filter in ApplicationBaseProtocol#getApplications should return latest applications
Date Wed, 11 Oct 2017 23:55:00 GMT

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

Hadoop QA commented on YARN-4988:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} | {color:red}
YARN-4988 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | YARN-4988 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12819325/YARN-4988-wip.patch
|
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/17870/console |
| Powered by | Apache Yetus 0.6.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> 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
>              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
(v6.4.14#64029)

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


Mime
View raw message