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 G (JIRA)" <ji...@apache.org> on 2016/11/04 12:14:58 UTC

[jira] [Comment Edited] (YARN-5802) updateApplicationPriority api in scheduler should ensure to re-insert app to correct ordering policy

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

Sunil G edited comment on YARN-5802 at 11/4/16 12:14 PM:
---------------------------------------------------------

[~bibinchundatt] 
I have committed this patch to trunk and branch-2.8.

Current patch does not apply cleanly to branch-2.8. Please share branch-2.8 patch.


was (Author: sunilg):
[~bibinchundatt] Please share branch-2.8 patch. Current patch does not apply cleanly.

> updateApplicationPriority api in scheduler should ensure to re-insert app to correct ordering policy
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5802
>                 URL: https://issues.apache.org/jira/browse/YARN-5802
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Critical
>         Attachments: YARN-5802.0001.patch, YARN-5802.0002.patch, YARN-5802.0003.patch, YARN-5802.0004.patch, YARN-5802.0005.patch, YARN-5802.0006.patch
>
>
> {{LeafQueue#updateApplicationPriority}}
> {code}
>  getOrderingPolicy().removeSchedulableEntity(attempt);
>       // Update new priority in SchedulerApplication
>       attempt.setPriority(newAppPriority);
>       getOrderingPolicy().addSchedulableEntity(attempt);
> {code}
> We should add again to ordering policy only when  attempt available in first case.Else during application attempt removal will try to iterate on killed application still available in pending Ordering policy.Which can cause RM to crash.



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

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