diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/FairSchedulerQueueInfo.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/FairSchedulerQueueInfo.java index 79339c7044b..913513c52ae 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/FairSchedulerQueueInfo.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/FairSchedulerQueueInfo.java @@ -48,8 +48,6 @@ public class FairSchedulerQueueInfo { @XmlTransient private float fractionMemFairShare; @XmlTransient - private float fractionMemMinShare; - @XmlTransient private float fractionMemMaxShare; private ResourceInfo minResources; @@ -63,7 +61,6 @@ public class FairSchedulerQueueInfo { private ResourceInfo clusterResources; private ResourceInfo reservedResources; - private long pendingContainers; private long allocatedContainers; private long reservedContainers; @@ -108,12 +105,10 @@ public class FairSchedulerQueueInfo { (float)steadyFairResources.getMemorySize() / clusterResources.getMemorySize(); fractionMemFairShare = (float) fairResources.getMemorySize() / clusterResources.getMemorySize(); - fractionMemMinShare = (float)minResources.getMemorySize() / clusterResources.getMemorySize(); fractionMemMaxShare = (float)maxResources.getMemorySize() / clusterResources.getMemorySize(); maxApps = queue.getMaxRunningApps(); - pendingContainers = queue.getMetrics().getPendingContainers(); allocatedContainers = queue.getMetrics().getAllocatedContainers(); reservedContainers = queue.getMetrics().getReservedContainers(); @@ -126,10 +121,6 @@ public class FairSchedulerQueueInfo { childQueues = getChildQueues(queue, scheduler); } - public long getPendingContainers() { - return pendingContainers; - } - public long getAllocatedContainers() { return allocatedContainers; } @@ -233,14 +224,6 @@ public class FairSchedulerQueueInfo { return demandResources; } - /** - * Returns the queue's min share in as a fraction of the entire - * cluster capacity. - */ - public float getMinShareMemoryFraction() { - return fractionMemMinShare; - } - /** * Returns the memory used by this queue as a fraction of the entire * cluster capacity.