@InterfaceAudience.Private @InterfaceStability.Unstable public class FileSystemTimelineWriter extends TimelineWriter
Constructor and Description |
---|
FileSystemTimelineWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.UserGroupInformation authUgi,
com.sun.jersey.api.client.Client client,
URI resURI) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
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) |
String |
toString() |
doPostingObject, putDomain, putEntities
public FileSystemTimelineWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.security.UserGroupInformation authUgi, com.sun.jersey.api.client.Client client, URI resURI) throws IOException
IOException
public String toString()
toString
in class TimelineWriter
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
public void close() throws Exception
close
in class TimelineWriter
Exception
public void flush() throws IOException
flush
in interface Flushable
flush
in class TimelineWriter
IOException
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.