Class TimelineEntityV2Converter
java.lang.Object
org.apache.hadoop.yarn.util.timeline.TimelineEntityV2Converter
Utility class to generate reports from timeline entities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.yarn.api.records.ApplicationAttemptReportconvertToApplicationAttemptReport(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity) static org.apache.hadoop.yarn.api.records.ApplicationReportconvertToApplicationReport(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity) static org.apache.hadoop.yarn.api.records.ContainerReportconvertToContainerReport(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity, String serverAddress, String user)
-
Method Details
-
convertToContainerReport
-
convertToApplicationAttemptReport
public static org.apache.hadoop.yarn.api.records.ApplicationAttemptReport convertToApplicationAttemptReport(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity) -
convertToApplicationReport
public static org.apache.hadoop.yarn.api.records.ApplicationReport convertToApplicationReport(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity entity)
-