Class DistributedShellTimelinePlugin
java.lang.Object
org.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin
org.apache.hadoop.yarn.applications.distributedshell.DistributedShellTimelinePlugin
public class DistributedShellTimelinePlugin
extends org.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin
Timeline v1.5 reader plugin for YARN distributed shell. It tranlsates an
incoming getEntity request to a set of related timeline entity groups, via
the information provided in the primary filter or entity id field.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>getTimelineEntityGroupId(String entityId, String entityType) Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId>getTimelineEntityGroupId(String entityType, org.apache.hadoop.yarn.server.timeline.NameValuePair primaryFilter, Collection<org.apache.hadoop.yarn.server.timeline.NameValuePair> secondaryFilters)
-
Constructor Details
-
DistributedShellTimelinePlugin
public DistributedShellTimelinePlugin()
-
-
Method Details
-
getTimelineEntityGroupId
public Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityType, org.apache.hadoop.yarn.server.timeline.NameValuePair primaryFilter, Collection<org.apache.hadoop.yarn.server.timeline.NameValuePair> secondaryFilters) - Specified by:
getTimelineEntityGroupIdin classorg.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin
-
getTimelineEntityGroupId
public Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityId, String entityType) - Specified by:
getTimelineEntityGroupIdin classorg.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin
-
getTimelineEntityGroupId
public Set<org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId> getTimelineEntityGroupId(String entityType, SortedSet<String> entityIds, Set<String> eventTypes) - Specified by:
getTimelineEntityGroupIdin classorg.apache.hadoop.yarn.server.timeline.TimelineEntityGroupPlugin
-