@InterfaceAudience.Private public static class AggregatedLogFormat.LogWriter extends Object
| Constructor and Description |
|---|
AggregatedLogFormat.LogWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path remoteAppLogFile,
org.apache.hadoop.security.UserGroupInformation userUgi) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(AggregatedLogFormat.LogKey logKey,
AggregatedLogFormat.LogValue logValue) |
void |
close() |
org.apache.hadoop.io.file.tfile.TFile.Writer |
getWriter() |
void |
writeApplicationACLs(Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls) |
void |
writeApplicationOwner(String user) |
public AggregatedLogFormat.LogWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path remoteAppLogFile,
org.apache.hadoop.security.UserGroupInformation userUgi)
throws IOException
IOExceptionpublic org.apache.hadoop.io.file.tfile.TFile.Writer getWriter()
public void writeApplicationOwner(String user) throws IOException
IOExceptionpublic void writeApplicationACLs(Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls) throws IOException
IOExceptionpublic void append(AggregatedLogFormat.LogKey logKey, AggregatedLogFormat.LogValue logValue) throws IOException
IOExceptionpublic void close()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.