YARN-6845. Variable scheduler of FSLeafQueue duplicates the one of its parent FSQueue.

(Contributed by Yufei Gu via Daniel Templeton)

(cherry picked from commit 10583625c1)
This commit is contained in:
Daniel Templeton 2017-07-24 13:44:00 -07:00
parent eb1751670a
commit 9b6e787230
1 changed files with 0 additions and 2 deletions

View File

@ -52,7 +52,6 @@ public class FSLeafQueue extends FSQueue {
private static final Log LOG = LogFactory.getLog(FSLeafQueue.class.getName());
private static final List<FSQueue> EMPTY_LIST = Collections.emptyList();
private FairScheduler scheduler;
private FSContext context;
// apps that are runnable
@ -76,7 +75,6 @@ public class FSLeafQueue extends FSQueue {
public FSLeafQueue(String name, FairScheduler scheduler,
FSParentQueue parent) {
super(name, scheduler, parent);
this.scheduler = scheduler;
this.context = scheduler.getContext();
this.lastTimeAtMinShare = scheduler.getClock().getTime();
activeUsersManager = new ActiveUsersManager(getMetrics());