@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, putEntitiespublic FileSystemTimelineWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.UserGroupInformation authUgi,
com.sun.jersey.api.client.Client client,
URI resURI)
throws IOException
IOExceptionpublic String toString()
toString in class TimelineWriterpublic 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.YarnExceptionpublic void close()
throws Exception
close in class TimelineWriterExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class TimelineWriterIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.