org.apache.hadoop.chukwa.analysis.salsa.fsm
Class FSMBuilder

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by 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


Nested Class Summary
static class FSMBuilder.AddInfoTypes
           
static class FSMBuilder.FSMReducer
           
 
Field Summary
protected static String SEP
           
 
Constructor Summary
FSMBuilder()
           
 
Method Summary
static void main(String[] args)
           
 int run(String[] args)
           
 
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
 

Field Detail

SEP

protected static final String SEP
See Also:
Constant Field Values
Constructor Detail

FSMBuilder

public FSMBuilder()
Method Detail

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