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 "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2018/11/03 16:46:00 UTC

[jira] [Comment Edited] (YARN-8898) Fix FederationInterceptor#allocate to set application priority in allocateResponse

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

Bibin A Chundatt edited comment on YARN-8898 at 11/3/18 4:45 PM:
-----------------------------------------------------------------

 [~botong]

{quote}
I agree that FederationInteceptor need more information, I think it is better to use/add fields in the AM RM allocate protocol. Generally it should figure out all information by looking at the communication between AM and (home) RM, e.g. application priority, node label etc.
{quote}

One concern in adding fields AMRM allocate protocol is then federation framework will not be able to working with old AM's applications. 
 Like 2.7.2 version will not have the fields which is required for application submission to other subclusters.

Better option could be pushing along with ApplicationHomeSubCluster the application Submission Context too. And let interceptor query when AM registration happens.


was (Author: bibinchundatt):
{quote}
I agree that FederationInteceptor need more information, I think it is better to use/add fields in the AM RM allocate protocol. Generally it should figure out all information by looking at the communication between AM and (home) RM, e.g. application priority, node label etc.
{quote}
One concern  in adding fields  AMRM allocate protocol is then federation framework will not be able to working with old AM's applications. 
Like 2.7.2 version will not have the fields which is required for application submission to other subclusters.

Better option could be pushing along with ApplicationHomeSubCluster  the application Submission Context too. And let interceptor query when AM registration happens.

> Fix FederationInterceptor#allocate to set application priority in allocateResponse
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-8898
>                 URL: https://issues.apache.org/jira/browse/YARN-8898
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Bibin A Chundatt
>            Assignee: Bilwa S T
>            Priority: Major
>
> In case of FederationInterceptor#mergeAllocateResponses skips application_priority in response returned



--
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