Class SubApplicationEntity
java.lang.Object
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
org.apache.hadoop.yarn.api.records.timelineservice.SubApplicationEntity
- All Implemented Interfaces:
Comparable<TimelineEntity>
This entity represents a user defined entities to be stored under sub
application table.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
TimelineEntity.Identifier -
Field Summary
FieldsFields inherited from class org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
CHILDREN_INFO_KEY, PARENT_INFO_KEYFields inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
DEFAULT_ENTITY_PREFIX, SYSTEM_INFO_KEY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if the input TimelineEntity object is an SubApplicationEntity.voidsetApplicationId(String appId) Methods inherited from class org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
addChild, addChild, addChildren, getChildren, getParent, setChildren, setParent, setParentMethods inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
addConfig, addConfigs, addEvent, addEvents, addInfo, addInfo, addIsRelatedToEntities, addIsRelatedToEntity, addMetric, addMetrics, addRelatesToEntities, addRelatesToEntity, compareTo, equals, getConfigs, getConfigsJAXB, getCreatedTime, getEvents, getId, getIdentifier, getIdPrefix, getInfo, getInfoJAXB, getIsRelatedToEntities, getIsRelatedToEntitiesJAXB, getMetrics, getReal, getRelatesToEntities, getRelatesToEntitiesJAXB, getType, hashCode, isValid, setConfigs, setCreatedTime, setEvents, setId, setIdentifier, setIdPrefix, setInfo, setIsRelatedToEntities, setMetrics, setRelatesToEntities, setType, setUID, toString
-
Field Details
-
YARN_APPLICATION_ID
- See Also:
-
-
Constructor Details
-
SubApplicationEntity
-
-
Method Details
-
isSubApplicationEntity
Checks if the input TimelineEntity object is an SubApplicationEntity.- Parameters:
te- TimelineEntity object.- Returns:
- true if input is an SubApplicationEntity, false otherwise
-
setApplicationId
-