Package cm_api :: Package endpoints :: Module types :: Class ApiYarnApplication
[hide private]
[frames] | no frames]

Class ApiYarnApplication

source code

   object --+    
            |    
BaseApiObject --+
                |
               ApiYarnApplication

Instance Methods [hide private]
 
__str__(self)
Default implementation of __str__.
source code

Inherited from BaseApiObject: __init__, __setattr__, to_json_dict

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from BaseApiObject: from_json_dict

Inherited from BaseApiObject (private): _get_attributes

Static Methods [hide private]

Inherited from BaseApiObject: init

Class Variables [hide private]
  _ATTRIBUTES = {'applicationId': ROAttr(), 'name': ROAttr(), 'u...

Inherited from BaseApiObject (private): _WHITELIST

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

Default implementation of __str__. Uses the type name and the first attribute retrieved from the attribute map to create the string.

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

_ATTRIBUTES

Value:
{'applicationId': ROAttr(), 'name': ROAttr(), 'user': ROAttr(), 'start\
Time': ROAttr(datetime.datetime), 'endTime': ROAttr(datetime.datetime)\
, 'pool': ROAttr(), 'state': ROAttr(), 'progress': ROAttr(), 'mr2AppIn\
formation': ROAttr(ApiMr2AppInformation), 'attributes': ROAttr(), 'all\
ocatedMB': ROAttr(), 'allocatedVCores': ROAttr(), 'runningContainers':\
 ROAttr(), 'applicationTags': ROAttr(), 'allocatedMemorySeconds': ROAt\
tr(), 'allocatedVcoreSeconds': ROAttr(), 'containerUsedMemorySeconds':\
 ROAttr(), 'containerUsedCpuSeconds': ROAttr(), 'containerUsedVcoreSec\
...