hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6380) FSAppAttempt keeps redundant copy of the queue
Date Fri, 24 Mar 2017 14:00:44 GMT

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

Daniel Templeton commented on YARN-6380:
----------------------------------------

It is a pointer to the same queue at creation time, but in {{FairScheduler.executeMove()}},
line 1662 we set the new queue using the {{setQueue()}} method, which sets the {{SchedulerApplicationAttempt#queue}}
but not the {{FSAppAttempt#fsQueue}}.

> FSAppAttempt keeps redundant copy of the queue
> ----------------------------------------------
>
>                 Key: YARN-6380
>                 URL: https://issues.apache.org/jira/browse/YARN-6380
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>         Attachments: YARN-6380.001.patch
>
>
> The {{FSAppAttempt}} class defines its own {{fsQueue}} variable that is a second copy
of the {{SchedulerApplicationAttempt}}'s {{queue}} variable.  Aside from being redundant,
it's also a bug, because when moving applications, we only update the {{SchedulerApplicationAttempt}}'s
{{queue}}, not the {{FSAppAttempt}}'s {{fsQueue}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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