org.apache.hadoop.mapred
Class JobHistory.HistoryCleaner

java.lang.Object
  extended by org.apache.hadoop.mapred.JobHistory.HistoryCleaner
All Implemented Interfaces:
Runnable
Enclosing class:
JobHistory

public static class JobHistory.HistoryCleaner
extends Object
implements Runnable

Delete history files older than one month. Update master index and remove all jobs older than one month. Also if a job tracker has no jobs in last one month remove reference to the job tracker.


Constructor Summary
JobHistory.HistoryCleaner()
           
 
Method Summary
 void clean(long now)
           
 void run()
          Cleans up history data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobHistory.HistoryCleaner

public JobHistory.HistoryCleaner()
Method Detail

run

public void run()
Cleans up history data.

Specified by:
run in interface Runnable

clean

public void clean(long now)


Copyright © 2009 The Apache Software Foundation