org.apache.hadoop.yarn.server.resourcemanager.webapp.dao
Class NodeInfo

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.NodeInfo

public class NodeInfo
extends Object


Field Summary
protected  long availMemoryMB
           
protected  String healthReport
           
protected  String healthStatus
           
protected  boolean healthy
           
protected  String id
           
protected  long lastHealthUpdate
           
protected  String nodeHostName
           
protected  String nodeHTTPAddress
           
protected  int numContainers
           
protected  String rack
           
protected  RMNodeState state
           
protected  long usedMemoryMB
           
 
Constructor Summary
NodeInfo()
           
NodeInfo(RMNode ni, ResourceScheduler sched)
           
 
Method Summary
 long getAvailableMemory()
           
 String getHealthReport()
           
 String getHealthStatus()
           
 long getLastHealthUpdate()
           
 String getNodeHTTPAddress()
           
 String getNodeId()
           
 int getNumContainers()
           
 String getRack()
           
 String getState()
           
 long getUsedMemory()
           
 boolean isHealthy()
           
 void setNodeHTTPAddress(String nodeHTTPAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rack

protected String rack

state

protected RMNodeState state

id

protected String id

nodeHostName

protected String nodeHostName

nodeHTTPAddress

protected String nodeHTTPAddress

healthStatus

protected String healthStatus

lastHealthUpdate

protected long lastHealthUpdate

healthReport

protected String healthReport

numContainers

protected int numContainers

usedMemoryMB

protected long usedMemoryMB

availMemoryMB

protected long availMemoryMB

healthy

protected boolean healthy
Constructor Detail

NodeInfo

public NodeInfo()

NodeInfo

public NodeInfo(RMNode ni,
                ResourceScheduler sched)
Method Detail

isHealthy

public boolean isHealthy()

getRack

public String getRack()

getState

public String getState()

getNodeId

public String getNodeId()

getNodeHTTPAddress

public String getNodeHTTPAddress()

setNodeHTTPAddress

public void setNodeHTTPAddress(String nodeHTTPAddress)

getHealthStatus

public String getHealthStatus()

getLastHealthUpdate

public long getLastHealthUpdate()

getHealthReport

public String getHealthReport()

getNumContainers

public int getNumContainers()

getUsedMemory

public long getUsedMemory()

getAvailableMemory

public long getAvailableMemory()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.