@InterfaceAudience.Private public static class AggregatedLogFormat.LogWriter extends Object
| Constructor and Description |
|---|
LogWriter(Configuration conf,
Path remoteAppLogFile,
UserGroupInformation userUgi) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(AggregatedLogFormat.LogKey logKey,
AggregatedLogFormat.LogValue logValue) |
void |
close() |
TFile.Writer |
getWriter() |
void |
writeApplicationACLs(Map<ApplicationAccessType,String> appAcls) |
void |
writeApplicationOwner(String user) |
public LogWriter(Configuration conf, Path remoteAppLogFile, UserGroupInformation userUgi) throws IOException
IOExceptionpublic TFile.Writer getWriter()
public void writeApplicationOwner(String user) throws IOException
IOExceptionpublic void writeApplicationACLs(Map<ApplicationAccessType,String> appAcls) throws IOException
IOExceptionpublic void append(AggregatedLogFormat.LogKey logKey, AggregatedLogFormat.LogValue logValue) throws IOException
IOExceptionpublic void close()
Copyright © 2018 CERN. All Rights Reserved.