Skip to content

Commit e6bc828

Browse files
author
Vikram Srivastava
committed
[yamon] OPSAPS-32606 Add the new fields for YARN apps
1 parent 0c8595d commit e6bc828

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

python/src/cm_api/endpoints/types.py

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,16 +1084,27 @@ def __str__(self):
10841084

10851085
class ApiYarnApplication(BaseApiObject):
10861086
_ATTRIBUTES = {
1087-
'applicationId' : ROAttr(),
1088-
'name' : ROAttr(),
1089-
'user' : ROAttr(),
1090-
'startTime' : ROAttr(datetime.datetime),
1091-
'endTime' : ROAttr(datetime.datetime),
1092-
'pool' : ROAttr(),
1093-
'state' : ROAttr(),
1094-
'progress' : ROAttr(),
1095-
'mr2AppInformation' : ROAttr(ApiMr2AppInformation),
1096-
'attributes' : ROAttr(),
1087+
'applicationId' : ROAttr(),
1088+
'name' : ROAttr(),
1089+
'user' : ROAttr(),
1090+
'startTime' : ROAttr(datetime.datetime),
1091+
'endTime' : ROAttr(datetime.datetime),
1092+
'pool' : ROAttr(),
1093+
'state' : ROAttr(),
1094+
'progress' : ROAttr(),
1095+
'mr2AppInformation' : ROAttr(ApiMr2AppInformation),
1096+
'attributes' : ROAttr(),
1097+
'allocatedMB' : ROAttr(),
1098+
'allocatedVCores' : ROAttr(),
1099+
'runningContainers' : ROAttr(),
1100+
'applicationTags' : ROAttr(),
1101+
'allocatedMemorySeconds' : ROAttr(),
1102+
'allocatedVcoreSeconds' : ROAttr(),
1103+
'containerUsedMemorySeconds' : ROAttr(),
1104+
'containerUsedCpuSeconds' : ROAttr(),
1105+
'containerUsedVcoreSeconds' : ROAttr(),
1106+
'containerAllocatedMemorySeconds' : ROAttr(),
1107+
'containerAllocatedVcoreSeconds' : ROAttr(),
10971108
}
10981109

10991110
def __str__(self):

0 commit comments

Comments
 (0)