org.apache.hadoop.mapred
Class TaskLogsTruncater

java.lang.Object
  extended by org.apache.hadoop.mapred.TaskLogsTruncater

public class TaskLogsTruncater
extends Object

The class for truncating the user logs. Should be used only by UserLogManager.


Constructor Summary
TaskLogsTruncater(Configuration conf)
           
 
Method Summary
 void truncateLogs(JVMInfo lInfo)
          Process the removed task's logs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskLogsTruncater

public TaskLogsTruncater(Configuration conf)
Method Detail

truncateLogs

public void truncateLogs(JVMInfo lInfo)
Process the removed task's logs. This involves truncating them to retainSize.



Copyright © 2009 The Apache Software Foundation