org.apache.hadoop.yarn.logaggregation
Class AggregatedLogFormat.LogWriter
java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogWriter
- Enclosing class:
- AggregatedLogFormat
public static class AggregatedLogFormat.LogWriter
- extends Object
|
Constructor Summary |
AggregatedLogFormat.LogWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path remoteAppLogFile,
org.apache.hadoop.security.UserGroupInformation userUgi)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatedLogFormat.LogWriter
public AggregatedLogFormat.LogWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path remoteAppLogFile,
org.apache.hadoop.security.UserGroupInformation userUgi)
throws IOException
- Throws:
IOException
writeApplicationOwner
public void writeApplicationOwner(String user)
throws IOException
- Throws:
IOException
writeApplicationACLs
public void writeApplicationACLs(Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> appAcls)
throws IOException
- Throws:
IOException
append
public void append(AggregatedLogFormat.LogKey logKey,
AggregatedLogFormat.LogValue logValue)
throws IOException
- Throws:
IOException
closeWriter
public void closeWriter()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.