public class ApiYarnApplication extends Object
Constructor and Description |
---|
ApiYarnApplication() |
ApiYarnApplication(String applicationId,
String name,
Date startTime,
Date endTime,
String user,
String pool,
String state,
Double progress,
ApiMr2AppInformation mr2AppInfo,
Map<String,String> attributes,
List<String> applicationTags,
Long allocatedMemorySeconds,
Long allocatedVcoreSeconds,
Integer allocatedMB,
Integer allocatedVCores,
Integer runningContainers,
Double containerUsedMemorySeconds,
Double containerUsedMemoryMax,
Double containerUsedCpuSeconds,
Double containerUsedVcoreSeconds,
Double containerAllocatedMemorySeconds,
Double containerAllocatedVcoreSeconds) |
Modifier and Type | Method and Description |
---|---|
Integer |
getAllocatedMB()
The sum of memory in MB allocated to the application's running containers
Available since v12.
|
Long |
getAllocatedMemorySeconds()
Allocated memory to the application in units of mb-secs.
|
Integer |
getAllocatedVCores()
The sum of virtual cores allocated to the application's running containers
Available since v12.
|
Long |
getAllocatedVcoreSeconds()
Allocated vcore-secs to the application.
|
String |
getApplicationId()
The application id.
|
List<String> |
getApplicationTags()
List of YARN application tags.
|
Map<String,String> |
getAttributes()
A map of additional application attributes which is generated by
Cloudera Manager.
|
Double |
getContainerAllocatedMemorySeconds()
Total memory (in mb-secs) allocated to containers launched by the YARN application.
|
Double |
getContainerAllocatedVcoreSeconds()
Total vcore-secs allocated to containers launched by the YARN application.
|
Double |
getContainerUsedCpuSeconds()
Actual CPU (in percent-secs) used by containers launched by the YARN application.
|
Double |
getContainerUsedMemoryMax()
Maximum memory used by containers launched by the YARN application.
|
Double |
getContainerUsedMemorySeconds()
Actual memory (in MB-secs) used by containers launched by the YARN application.
|
Double |
getContainerUsedVcoreSeconds()
Actual VCore-secs used by containers launched by the YARN application.
|
Date |
getEndTime()
The time the application finished.
|
ApiMr2AppInformation |
getMr2AppInformation() |
String |
getName()
The name of the application.
|
String |
getPool()
The pool the application was submitted to.
|
Double |
getProgress()
The progress, as a percentage, the application has made.
|
Integer |
getRunningContainers()
The number of containers currently running for the application
Available since v12.
|
Date |
getStartTime()
The time the application was submitted.
|
String |
getState() |
String |
getUser()
The user who submitted the application.
|
void |
setAllocatedMB(Integer allocatedMB) |
void |
setAllocatedMemorySeconds(Long allocatedMemorySeconds) |
void |
setAllocatedVCores(Integer allocatedVCores) |
void |
setAllocatedVcoreSeconds(Long allocatedVcoreSeconds) |
void |
setApplicationId(String applicationId) |
void |
setApplicationTags(List<String> applicationTags) |
void |
setAttributes(Map<String,String> attributes) |
void |
setContainerAllocatedMemorySeconds(Double containerAllocatedMemorySeconds) |
void |
setContainerAllocatedVcoreSeconds(Double containerAllocatedVcoreSeconds) |
void |
setContainerUsedCpuSeconds(Double containerUsedCpuSeconds) |
void |
setContainerUsedMemoryMax(Double containerUsedMemoryMax) |
void |
setContainerUsedMemorySeconds(Double containerUsedMemorySeconds) |
void |
setContainerUsedVcoreSeconds(Double containerUsedVcoreSeconds) |
void |
setEndTime(Date endTime) |
void |
setMr2AppInformation(ApiMr2AppInformation mr2AppInfo) |
void |
setName(String name) |
void |
setPool(String pool) |
void |
setProgress(Double progress) |
void |
setRunningContainers(Integer runningContainers) |
void |
setStartTime(Date startTime) |
void |
setState(String state) |
void |
setUser(String user) |
String |
toString() |
public ApiYarnApplication()
public ApiYarnApplication(String applicationId, String name, Date startTime, Date endTime, String user, String pool, String state, Double progress, ApiMr2AppInformation mr2AppInfo, Map<String,String> attributes, List<String> applicationTags, Long allocatedMemorySeconds, Long allocatedVcoreSeconds, Integer allocatedMB, Integer allocatedVCores, Integer runningContainers, Double containerUsedMemorySeconds, Double containerUsedMemoryMax, Double containerUsedCpuSeconds, Double containerUsedVcoreSeconds, Double containerAllocatedMemorySeconds, Double containerAllocatedVcoreSeconds)
public Integer getAllocatedMB()
public void setAllocatedMB(Integer allocatedMB)
public Integer getAllocatedVCores()
public void setAllocatedVCores(Integer allocatedVCores)
public Integer getRunningContainers()
public void setRunningContainers(Integer runningContainers)
public List<String> getApplicationTags()
public Long getAllocatedMemorySeconds()
public void setAllocatedMemorySeconds(Long allocatedMemorySeconds)
public Long getAllocatedVcoreSeconds()
public void setAllocatedVcoreSeconds(Long allocatedVcoreSeconds)
public String getApplicationId()
public void setApplicationId(String applicationId)
public String getName()
public void setName(String name)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
public String getUser()
public void setUser(String user)
public String getPool()
public void setPool(String pool)
public Double getProgress()
public void setProgress(Double progress)
public Map<String,String> getAttributes()
public ApiMr2AppInformation getMr2AppInformation()
public void setMr2AppInformation(ApiMr2AppInformation mr2AppInfo)
public String getState()
public void setState(String state)
public Double getContainerUsedMemorySeconds()
public void setContainerUsedMemorySeconds(Double containerUsedMemorySeconds)
public Double getContainerUsedMemoryMax()
public void setContainerUsedMemoryMax(Double containerUsedMemoryMax)
public Double getContainerUsedCpuSeconds()
public void setContainerUsedCpuSeconds(Double containerUsedCpuSeconds)
public Double getContainerUsedVcoreSeconds()
public void setContainerUsedVcoreSeconds(Double containerUsedVcoreSeconds)
public Double getContainerAllocatedMemorySeconds()
public void setContainerAllocatedMemorySeconds(Double containerAllocatedMemorySeconds)
public Double getContainerAllocatedVcoreSeconds()
public void setContainerAllocatedVcoreSeconds(Double containerAllocatedVcoreSeconds)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.