public class JobHistoryTaskDataMapper extends org.apache.hadoop.mapred.MapReduceBase implements org.apache.hadoop.mapred.Mapper<ChukwaRecordKey,ChukwaRecord,ChukwaRecordKey,FSMIntermedEntry>
Modifier and Type | Field and Description |
---|---|
protected static String |
FSM_CRK_ReduceType |
protected static String |
SEP |
Constructor and Description |
---|
JobHistoryTaskDataMapper() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
expandReduceEnd(ChukwaRecordKey key,
ChukwaRecord val,
org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output,
org.apache.hadoop.mapred.Reporter reporter,
FSMIntermedEntry this_rec) |
protected boolean |
expandReduceStart(ChukwaRecordKey key,
ChukwaRecord val,
org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output,
org.apache.hadoop.mapred.Reporter reporter,
FSMIntermedEntry this_rec) |
void |
map(ChukwaRecordKey key,
ChukwaRecord val,
org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output,
org.apache.hadoop.mapred.Reporter reporter) |
protected FSMIntermedEntry |
populateRecord_MapCounters(FSMIntermedEntry this_rec,
ChukwaRecord val,
ArrayList<String> fieldNamesList) |
protected FSMIntermedEntry |
populateRecord_ReduceCounters(FSMIntermedEntry this_rec,
ChukwaRecord val,
ArrayList<String> fieldNamesList) |
protected static final String SEP
protected static final String FSM_CRK_ReduceType
protected FSMIntermedEntry populateRecord_MapCounters(FSMIntermedEntry this_rec, ChukwaRecord val, ArrayList<String> fieldNamesList)
protected FSMIntermedEntry populateRecord_ReduceCounters(FSMIntermedEntry this_rec, ChukwaRecord val, ArrayList<String> fieldNamesList)
public void map(ChukwaRecordKey key, ChukwaRecord val, org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
map
in interface org.apache.hadoop.mapred.Mapper<ChukwaRecordKey,ChukwaRecord,ChukwaRecordKey,FSMIntermedEntry>
IOException
protected boolean expandReduceStart(ChukwaRecordKey key, ChukwaRecord val, org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output, org.apache.hadoop.mapred.Reporter reporter, FSMIntermedEntry this_rec) throws IOException
IOException
protected boolean expandReduceEnd(ChukwaRecordKey key, ChukwaRecord val, org.apache.hadoop.mapred.OutputCollector<ChukwaRecordKey,FSMIntermedEntry> output, org.apache.hadoop.mapred.Reporter reporter, FSMIntermedEntry this_rec) throws IOException
IOException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.