public class ClusterMetricsInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
activeNodes |
protected long |
allocatedMB |
protected long |
allocatedVirtualCores |
protected int |
appsCompleted |
protected int |
appsFailed |
protected int |
appsKilled |
protected int |
appsPending |
protected int |
appsRunning |
protected int |
appsSubmitted |
protected long |
availableMB |
protected long |
availableVirtualCores |
protected int |
containersAllocated |
protected int |
containersPending |
protected int |
containersReserved |
protected int |
decommissionedNodes |
protected int |
decommissioningNodes |
protected int |
lostNodes |
protected int |
rebootedNodes |
protected long |
reservedMB |
protected long |
reservedVirtualCores |
protected int |
shutdownNodes |
protected long |
totalMB |
protected int |
totalNodes |
protected long |
totalVirtualCores |
protected int |
unhealthyNodes |
Constructor and Description |
---|
ClusterMetricsInfo() |
ClusterMetricsInfo(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveNodes() |
long |
getAllocatedMB() |
long |
getAllocatedVirtualCores() |
int |
getAppsCompleted() |
int |
getAppsFailed() |
int |
getAppsKilled() |
int |
getAppsPending() |
int |
getAppsRunning() |
int |
getAppsSubmitted() |
long |
getAvailableMB() |
long |
getAvailableVirtualCores() |
int |
getContainersAllocated() |
int |
getDecommissionedNodes() |
int |
getDecommissioningNodes() |
int |
getLostNodes() |
int |
getPendingContainers() |
int |
getRebootedNodes() |
int |
getReservedContainers() |
long |
getReservedMB() |
long |
getReservedVirtualCores() |
int |
getShutdownNodes() |
long |
getTotalMB() |
int |
getTotalNodes() |
long |
getTotalVirtualCores() |
int |
getUnhealthyNodes() |
protected int appsSubmitted
protected int appsCompleted
protected int appsPending
protected int appsRunning
protected int appsFailed
protected int appsKilled
protected long reservedMB
protected long availableMB
protected long allocatedMB
protected long reservedVirtualCores
protected long availableVirtualCores
protected long allocatedVirtualCores
protected int containersAllocated
protected int containersReserved
protected int containersPending
protected long totalMB
protected long totalVirtualCores
protected int totalNodes
protected int lostNodes
protected int unhealthyNodes
protected int decommissioningNodes
protected int decommissionedNodes
protected int rebootedNodes
protected int activeNodes
protected int shutdownNodes
public ClusterMetricsInfo()
public ClusterMetricsInfo(ResourceManager rm)
public int getAppsSubmitted()
public int getAppsCompleted()
public int getAppsPending()
public int getAppsRunning()
public int getAppsFailed()
public int getAppsKilled()
public long getReservedMB()
public long getAvailableMB()
public long getAllocatedMB()
public long getReservedVirtualCores()
public long getAvailableVirtualCores()
public long getAllocatedVirtualCores()
public int getContainersAllocated()
public int getReservedContainers()
public int getPendingContainers()
public long getTotalMB()
public long getTotalVirtualCores()
public int getTotalNodes()
public int getActiveNodes()
public int getLostNodes()
public int getRebootedNodes()
public int getUnhealthyNodes()
public int getDecommissioningNodes()
public int getDecommissionedNodes()
public int getShutdownNodes()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.