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:
parent
eb1751670a
commit
9b6e787230
|
@ -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