|
@@ -62,6 +62,7 @@ public class FairSchedulerQueueInfo {
|
|
|
private ResourceInfo reservedResources;
|
|
|
private ResourceInfo maxContainerAllocation;
|
|
|
|
|
|
+ private long pendingContainers;
|
|
|
private long allocatedContainers;
|
|
|
private long reservedContainers;
|
|
|
|
|
@@ -114,6 +115,7 @@ public class FairSchedulerQueueInfo {
|
|
|
|
|
|
allocatedContainers = queue.getMetrics().getAllocatedContainers();
|
|
|
reservedContainers = queue.getMetrics().getReservedContainers();
|
|
|
+ pendingContainers = queue.getMetrics().getPendingContainers();
|
|
|
|
|
|
if (allocConf.isReservable(queueName) &&
|
|
|
!allocConf.getShowReservationAsQueues(queueName)) {
|
|
@@ -128,6 +130,8 @@ public class FairSchedulerQueueInfo {
|
|
|
return allocatedContainers;
|
|
|
}
|
|
|
|
|
|
+ public long getPendingContainers() { return pendingContainers; }
|
|
|
+
|
|
|
public long getReservedContainers() {
|
|
|
return reservedContainers;
|
|
|
}
|