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

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

public class AppInfo
extends Object


Field Summary
protected  int allocatedMB
           
protected  int allocatedVCores
           
protected  String amContainerLogs
           
protected  boolean amContainerLogsExist
           
protected  String amHostHttpAddress
           
protected  String appIdNum
           
protected  org.apache.hadoop.yarn.api.records.ApplicationId applicationId
           
protected  String applicationTags
           
protected  String applicationType
           
protected  long clusterId
           
protected  String diagnostics
           
protected  long elapsedTime
           
protected  org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalStatus
           
protected  long finishedTime
           
protected  String id
           
protected  long memorySeconds
           
protected  String name
           
protected  int numAMContainerPreempted
           
protected  int numNonAMContainerPreempted
           
protected  int preemptedResourceMB
           
protected  int preemptedResourceVCores
           
protected  float progress
           
protected  String queue
           
protected  int runningContainers
           
protected  long startedTime
           
protected  org.apache.hadoop.yarn.api.records.YarnApplicationState state
           
protected  String trackingUI
           
protected  String trackingUrl
           
protected  boolean trackingUrlIsNotReady
           
protected  String trackingUrlPretty
           
protected  String user
           
protected  long vcoreSeconds
           
 
Constructor Summary
AppInfo()
           
AppInfo(RMApp app, Boolean hasAccess, String schemePrefix)
           
 
Method Summary
 boolean amContainerLogsExist()
           
 int getAllocatedMB()
           
 int getAllocatedVCores()
           
 String getAMContainerLogs()
           
 String getAMHostHttpAddress()
           
 String getAppId()
           
 String getAppIdNum()
           
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
           
 String getApplicationTags()
           
 String getApplicationType()
           
 long getClusterId()
           
 long getElapsedTime()
           
 String getFinalStatus()
           
 long getFinishTime()
           
 long getMemorySeconds()
           
 String getName()
           
 String getNote()
           
 int getNumAMContainersPreempted()
           
 int getNumNonAMContainersPreempted()
           
 int getPreemptedMB()
           
 int getPreemptedVCores()
           
 float getProgress()
           
 String getQueue()
           
 int getRunningContainers()
           
 long getStartTime()
           
 String getState()
           
 String getTrackingUI()
           
 String getTrackingUrl()
           
 String getTrackingUrlPretty()
           
 String getUser()
           
 long getVcoreSeconds()
           
 boolean isTrackingUrlReady()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appIdNum

protected String appIdNum

trackingUrlIsNotReady

protected boolean trackingUrlIsNotReady

trackingUrlPretty

protected String trackingUrlPretty

amContainerLogsExist

protected boolean amContainerLogsExist

applicationId

protected org.apache.hadoop.yarn.api.records.ApplicationId applicationId

id

protected String id

user

protected String user

name

protected String name

queue

protected String queue

state

protected org.apache.hadoop.yarn.api.records.YarnApplicationState state

finalStatus

protected org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalStatus

progress

protected float progress

trackingUI

protected String trackingUI

trackingUrl

protected String trackingUrl

diagnostics

protected String diagnostics

clusterId

protected long clusterId

applicationType

protected String applicationType

applicationTags

protected String applicationTags

startedTime

protected long startedTime

finishedTime

protected long finishedTime

elapsedTime

protected long elapsedTime

amContainerLogs

protected String amContainerLogs

amHostHttpAddress

protected String amHostHttpAddress

allocatedMB

protected int allocatedMB

allocatedVCores

protected int allocatedVCores

runningContainers

protected int runningContainers

memorySeconds

protected long memorySeconds

vcoreSeconds

protected long vcoreSeconds

preemptedResourceMB

protected int preemptedResourceMB

preemptedResourceVCores

protected int preemptedResourceVCores

numNonAMContainerPreempted

protected int numNonAMContainerPreempted

numAMContainerPreempted

protected int numAMContainerPreempted
Constructor Detail

AppInfo

public AppInfo()

AppInfo

public AppInfo(RMApp app,
               Boolean hasAccess,
               String schemePrefix)
Method Detail

isTrackingUrlReady

public boolean isTrackingUrlReady()

getApplicationId

public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()

getAppId

public String getAppId()

getAppIdNum

public String getAppIdNum()

getUser

public String getUser()

getQueue

public String getQueue()

getName

public String getName()

getState

public String getState()

getProgress

public float getProgress()

getTrackingUI

public String getTrackingUI()

getNote

public String getNote()

getFinalStatus

public String getFinalStatus()

getTrackingUrl

public String getTrackingUrl()

getTrackingUrlPretty

public String getTrackingUrlPretty()

getStartTime

public long getStartTime()

getFinishTime

public long getFinishTime()

getElapsedTime

public long getElapsedTime()

getAMContainerLogs

public String getAMContainerLogs()

getAMHostHttpAddress

public String getAMHostHttpAddress()

amContainerLogsExist

public boolean amContainerLogsExist()

getClusterId

public long getClusterId()

getApplicationType

public String getApplicationType()

getApplicationTags

public String getApplicationTags()

getRunningContainers

public int getRunningContainers()

getAllocatedMB

public int getAllocatedMB()

getAllocatedVCores

public int getAllocatedVCores()

getPreemptedMB

public int getPreemptedMB()

getPreemptedVCores

public int getPreemptedVCores()

getNumNonAMContainersPreempted

public int getNumNonAMContainersPreempted()

getNumAMContainersPreempted

public int getNumAMContainersPreempted()

getMemorySeconds

public long getMemorySeconds()

getVcoreSeconds

public long getVcoreSeconds()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.