Class AppInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.AppInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected org.apache.hadoop.yarn.api.records.ApplicationIdprotected Stringprotected Stringprotected Stringprotected longprotected floatprotected Stringprotected longprotected org.apache.hadoop.yarn.api.records.FinalApplicationStatusprotected longprotected Stringprotected org.apache.hadoop.yarn.api.records.LogAggregationStatusprotected intprotected floatprotected Stringprotected floatprotected ResourcesInfoprotected Stringprotected longprotected Stringprotected Stringprotected booleanprotected Stringprotected booleanprotected String -
Constructor Summary
ConstructorsConstructorDescriptionAppInfo()AppInfo(ResourceManager rm, RMApp app, Boolean hasAccess, String schemePrefix) AppInfo(ResourceManager rm, RMApp app, Boolean hasAccess, String schemePrefix, DeSelectFields deSelects) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglongstatic StringgetAppId()org.apache.hadoop.yarn.api.records.ApplicationIdlonglongorg.apache.hadoop.yarn.api.records.FinalApplicationStatuslonglongorg.apache.hadoop.yarn.api.records.LogAggregationStatuslonggetName()getNote()intintintintlonglonglonglonglonglongintfloatgetQueue()longlongintlongorg.apache.hadoop.yarn.api.records.YarnApplicationStategetState()org.apache.hadoop.yarn.server.federation.store.records.SubClusterIdInfogetUser()longbooleanbooleanvoidsetAllocatedMB(long allocatedMB) voidsetAllocatedVCores(long allocatedVCores) voidsetAMHostHttpAddress(String amHost) voidvoidsetMasterNodeId(String masterNodeId) voidsetMemorySeconds(long memorySeconds) voidvoidvoidsetNumAMContainerPreempted(int numAMContainerPreempted) voidsetNumNonAMContainerPreempted(int numNonAMContainerPreempted) voidsetPreemptedMemorySeconds(long preemptedMemorySeconds) voidsetPreemptedResourceMB(long preemptedResourceMB) voidsetPreemptedResourceVCores(long preemptedResourceVCores) voidsetPreemptedVcoreSeconds(long preemptedVcoreSeconds) voidsetReservedMB(long reservedMB) voidsetReservedVCores(long reservedVCores) voidsetResourceRequests(List<ResourceRequestInfo> resourceRequests) voidsetRunningContainers(int runningContainers) voidsetState(org.apache.hadoop.yarn.api.records.YarnApplicationState state) voidsetVcoreSeconds(long vcoreSeconds)
-
Field Details
-
appIdNum
-
trackingUrlIsNotReady
protected boolean trackingUrlIsNotReady -
trackingUrlPretty
-
amContainerLogsExist
protected boolean amContainerLogsExist -
applicationId
protected org.apache.hadoop.yarn.api.records.ApplicationId applicationId -
id
-
user
-
queue
-
finalStatus
protected org.apache.hadoop.yarn.api.records.FinalApplicationStatus finalStatus -
progress
protected float progress -
trackingUI
-
trackingUrl
-
diagnostics
-
clusterId
protected long clusterId -
rmClusterId
-
applicationType
-
applicationTags
-
priority
protected int priority -
startedTime
protected long startedTime -
finishedTime
protected long finishedTime -
elapsedTime
protected long elapsedTime -
amContainerLogs
-
amHostHttpAddress
-
queueUsagePercentage
protected float queueUsagePercentage -
clusterUsagePercentage
protected float clusterUsagePercentage -
resourceSecondsMap
-
preemptedResourceSecondsMap
-
logAggregationStatus
protected org.apache.hadoop.yarn.api.records.LogAggregationStatus logAggregationStatus -
unmanagedApplication
protected boolean unmanagedApplication -
appNodeLabelExpression
-
amNodeLabelExpression
-
resourceInfo
-
-
Constructor Details
-
AppInfo
public AppInfo() -
AppInfo
-
AppInfo
public AppInfo(ResourceManager rm, RMApp app, Boolean hasAccess, String schemePrefix, DeSelectFields deSelects)
-
-
Method Details
-
isTrackingUrlReady
public boolean isTrackingUrlReady() -
getApplicationId
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId() -
getAppId
-
getAppIdNum
-
getUser
-
getQueue
-
getName
-
getState
public org.apache.hadoop.yarn.api.records.YarnApplicationState getState() -
getProgress
public float getProgress() -
getTrackingUI
-
getNote
-
setNote
-
getFinalStatus
public org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalStatus() -
getTrackingUrl
-
getTrackingUrlPretty
-
getStartTime
public long getStartTime() -
getLaunchTime
public long getLaunchTime() -
getFinishTime
public long getFinishTime() -
getElapsedTime
public long getElapsedTime() -
getAMContainerLogs
-
getAMHostHttpAddress
-
getAmRPCAddress
-
getAmRPCAddressFromRMAppAttempt
-
amContainerLogsExist
public boolean amContainerLogsExist() -
getClusterId
public long getClusterId() -
getSubClusterIdInfo
public org.apache.hadoop.yarn.server.federation.store.records.SubClusterIdInfo getSubClusterIdInfo() -
getRmClusterId
-
getApplicationType
-
getApplicationTags
-
getRunningContainers
public int getRunningContainers() -
getAllocatedMB
public long getAllocatedMB() -
getAllocatedVCores
public long getAllocatedVCores() -
getReservedMB
public long getReservedMB() -
getReservedVCores
public long getReservedVCores() -
getPreemptedMB
public long getPreemptedMB() -
getPreemptedVCores
public long getPreemptedVCores() -
getNumNonAMContainersPreempted
public int getNumNonAMContainersPreempted() -
getNumAMContainersPreempted
public int getNumAMContainersPreempted() -
getMemorySeconds
public long getMemorySeconds() -
getVcoreSeconds
public long getVcoreSeconds() -
getResourceSecondsMap
-
getPreemptedMemorySeconds
public long getPreemptedMemorySeconds() -
getPreemptedVcoreSeconds
public long getPreemptedVcoreSeconds() -
getPreemptedResourceSecondsMap
-
getResourceRequests
-
setResourceRequests
-
getLogAggregationStatus
public org.apache.hadoop.yarn.api.records.LogAggregationStatus getLogAggregationStatus() -
isUnmanagedApp
public boolean isUnmanagedApp() -
getPriority
public int getPriority() -
getAppNodeLabelExpression
-
getAmNodeLabelExpression
-
getResourceInfo
-
getPreemptedResourceMB
public long getPreemptedResourceMB() -
setPreemptedResourceMB
public void setPreemptedResourceMB(long preemptedResourceMB) -
getPreemptedResourceVCores
public long getPreemptedResourceVCores() -
setPreemptedResourceVCores
public void setPreemptedResourceVCores(long preemptedResourceVCores) -
getNumNonAMContainerPreempted
public int getNumNonAMContainerPreempted() -
setNumNonAMContainerPreempted
public void setNumNonAMContainerPreempted(int numNonAMContainerPreempted) -
getNumAMContainerPreempted
public int getNumAMContainerPreempted() -
setNumAMContainerPreempted
public void setNumAMContainerPreempted(int numAMContainerPreempted) -
setPreemptedMemorySeconds
public void setPreemptedMemorySeconds(long preemptedMemorySeconds) -
setPreemptedVcoreSeconds
public void setPreemptedVcoreSeconds(long preemptedVcoreSeconds) -
setAllocatedMB
public void setAllocatedMB(long allocatedMB) -
setAllocatedVCores
public void setAllocatedVCores(long allocatedVCores) -
setReservedMB
public void setReservedMB(long reservedMB) -
setReservedVCores
public void setReservedVCores(long reservedVCores) -
setRunningContainers
public void setRunningContainers(int runningContainers) -
setMemorySeconds
public void setMemorySeconds(long memorySeconds) -
setVcoreSeconds
public void setVcoreSeconds(long vcoreSeconds) -
setAppId
-
setAMHostHttpAddress
-
setState
public void setState(org.apache.hadoop.yarn.api.records.YarnApplicationState state) -
setName
-
getMasterNodeId
-
setMasterNodeId
-