public class TaskLogsTruncater extends Object
UserLogManager
.构造器和说明 |
---|
TaskLogsTruncater(Configuration conf) |
限定符和类型 | 方法和说明 |
---|---|
static void |
main(String[] args) |
boolean |
shouldTruncateLogs(JVMInfo lInfo)
Check the log file sizes generated by the attempts that ran in a
particular JVM
|
void |
truncateLogs(JVMInfo lInfo)
Process the removed task's logs.
|
public TaskLogsTruncater(Configuration conf)
public boolean shouldTruncateLogs(JVMInfo lInfo) throws IOException
lInfo
- IOException
public void truncateLogs(JVMInfo lInfo)
public static void main(String[] args) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation