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 id
           
protected  long lastHealthUpdate
           
protected  String nodeHostName
           
protected  String nodeHTTPAddress
           
protected  int numContainers
           
protected  String rack
           
protected  org.apache.hadoop.yarn.api.records.NodeState state
           
protected  long usedMemoryMB
           
 
Constructor Summary
NodeInfo()
           
NodeInfo(RMNode ni, ResourceScheduler sched)
           
 
Method Summary
 long getAvailableMemory()
           
 String getHealthReport()
           
 long getLastHealthUpdate()
           
 String getNodeHTTPAddress()
           
 String getNodeId()
           
 int getNumContainers()
           
 String getRack()
           
 String getState()
           
 long getUsedMemory()
           
 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 org.apache.hadoop.yarn.api.records.NodeState state

id

protected String id

nodeHostName

protected String nodeHostName

nodeHTTPAddress

protected String nodeHTTPAddress

lastHealthUpdate

protected long lastHealthUpdate

healthReport

protected String healthReport

numContainers

protected int numContainers

usedMemoryMB

protected long usedMemoryMB

availMemoryMB

protected long availMemoryMB
Constructor Detail

NodeInfo

public NodeInfo()

NodeInfo

public NodeInfo(RMNode ni,
                ResourceScheduler sched)
Method Detail

getRack

public String getRack()

getState

public String getState()

getNodeId

public String getNodeId()

getNodeHTTPAddress

public String getNodeHTTPAddress()

setNodeHTTPAddress

public void setNodeHTTPAddress(String nodeHTTPAddress)

getLastHealthUpdate

public long getLastHealthUpdate()

getHealthReport

public String getHealthReport()

getNumContainers

public int getNumContainers()

getUsedMemory

public long getUsedMemory()

getAvailableMemory

public long getAvailableMemory()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.