org.apache.hadoop.tools.rumen
Interface JobHistoryParser

All Superinterfaces:
Closeable
All Known Implementing Classes:
CurrentJHParser, Hadoop20JHParser

public interface JobHistoryParser
extends Closeable

JobHistoryParser defines the interface of a Job History file parser.


Method Summary
 org.apache.hadoop.mapreduce.jobhistory.HistoryEvent nextEvent()
          Get the next HistoryEvent
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

nextEvent

org.apache.hadoop.mapreduce.jobhistory.HistoryEvent nextEvent()
                                                              throws IOException
Get the next HistoryEvent

Returns:
the next HistoryEvent. If no more events left, return null.
Throws:
IOException


Copyright © 2009 The Apache Software Foundation