YARN-6845. Variable scheduler of FSLeafQueue duplicates the one of its parent FSQueue.
(Contributed by Yufei Gu via Daniel Templeton)
This commit is contained in:
parent
bb30bd3771
commit
10583625c1
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue