TaskLogsTruncater (Hadoop 0.20.2+737 API)
Date: 2010-10-11

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.mapred
Class TaskLogsTruncater

    java.lang.Object
      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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation