public class ClusterMetricsInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
activeNodes |
protected double |
allocatedDisks |
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 double |
availableDisks |
protected long |
availableMB |
protected long |
availableVirtualCores |
protected int |
containersAllocated |
protected int |
containersPending |
protected int |
containersReserved |
protected int |
decommissionedNodes |
protected int |
lostNodes |
protected int |
rebootedNodes |
protected double |
reservedDisks |
protected long |
reservedMB |
protected long |
reservedVirtualCores |
protected double |
totalDisks |
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() |
double |
getAllocatedDisks() |
long |
getAllocatedMB() |
long |
getAllocatedVirtualCores() |
int |
getAppsCompleted() |
int |
getAppsFailed() |
int |
getAppsKilled() |
int |
getAppsPending() |
int |
getAppsRunning() |
int |
getAppsSubmitted() |
double |
getAvailableDisks() |
long |
getAvailableMB() |
long |
getAvailableVirtualCores() |
int |
getContainersAllocated() |
int |
getDecommissionedNodes() |
int |
getLostNodes() |
int |
getPendingContainers() |
int |
getRebootedNodes() |
int |
getReservedContainers() |
double |
getReservedDisks() |
long |
getReservedMB() |
long |
getReservedVirtualCores() |
double |
getTotalDisks() |
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 double reservedDisks
protected double availableDisks
protected double allocatedDisks
protected int containersAllocated
protected int containersReserved
protected int containersPending
protected long totalMB
protected long totalVirtualCores
protected double totalDisks
protected int totalNodes
protected int lostNodes
protected int unhealthyNodes
protected int decommissionedNodes
protected int rebootedNodes
protected int activeNodes
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 double getReservedDisks()
public double getAvailableDisks()
public double getAllocatedDisks()
public int getContainersAllocated()
public int getReservedContainers()
public int getPendingContainers()
public long getTotalMB()
public long getTotalVirtualCores()
public double getTotalDisks()
public int getTotalNodes()
public int getActiveNodes()
public int getLostNodes()
public int getRebootedNodes()
public int getUnhealthyNodes()
public int getDecommissionedNodes()
Copyright © 2019 Apache Software Foundation. All Rights Reserved.