org.apache.hadoop.chukwa.analysis.salsa.fsm
Class FSMBuilder
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.chukwa.analysis.salsa.fsm.FSMBuilder
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class FSMBuilder
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
FSM Builder
Input: start/end pairs i.e. JobHistory data
Input handling is controlled by choosing a custom mapper that
is able to parse the desired input format (e.g. JobHistory lines)
One map class is provided for each type of input data provided
Each map class "standardizes" the different input log types
to the standardized internal FSMIntermedEntry representation
Currently available mapper classes:
DataNodeClientTraceMapper
TaskTrackerClientTraceMapper
JobHistoryTaskDataMapper
Parameterizing choice of mapper class - read in as config parameter
Output is standardized, regardless of input, and is generated by
the common reducer
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
SEP
protected static final String SEP
- See Also:
- Constant Field Values
FSMBuilder
public FSMBuilder()
run
public int run(String[] args)
throws Exception
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © ${year} The Apache Software Foundation