@InterfaceAudience.Private @InterfaceStability.Unstable public class DirectTimelineWriter extends TimelineWriter
| Constructor and Description |
|---|
DirectTimelineWriter(org.apache.hadoop.security.UserGroupInformation authUgi,
com.sun.jersey.api.client.Client client,
URI resURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
putDomain(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) |
org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
putEntities(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId groupId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities) |
close, doPostingObject, flush, putDomain, putEntities, toStringpublic DirectTimelineWriter(org.apache.hadoop.security.UserGroupInformation authUgi,
com.sun.jersey.api.client.Client client,
URI resURI)
public org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse putEntities(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId groupId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities)
throws IOException,
org.apache.hadoop.yarn.exceptions.YarnException
putEntities in class TimelineWriterIOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic void putDomain(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
throws IOException,
org.apache.hadoop.yarn.exceptions.YarnException
putDomain in class TimelineWriterIOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.