@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, toString
public 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 TimelineWriter
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public 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 TimelineWriter
IOException
org.apache.hadoop.yarn.exceptions.YarnException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.