Package ml.shifu.guagua.mapreduce
This package contains guagua-mapreduce implementation details based one only mapper hadoop job.
com.paypal.guagua.mapreduce.GuaguaMapReduceClient is the entry point to trigger a guagua job by invoking its
main method.
com.paypal.guagua.mapreduce.GuaguaMRUnitDriver is a class for unit test, it will run guagua master-workers in one jvm instance. See SumTest in guagua-mapreduce-examples project for details.
Hadoop input format and output format customization for guagua is in com.paypal.guagua.mapreduce.GuaguaInputFormat com.paypal.guagua.mapreduce.GuaguaOutputFormat and other related classes.
-
Class Summary Class Description GuaguaInputFormat GuaguaInputFormatis used to determine how many mappers in guagua MapReduce job.GuaguaInputSplit Deprecated. useGuaguaInputSplitGuaguaLineRecordReader Deprecated. GuaguaMapper<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable> GuaguaMapperis the Hadoop Mapper implementation for both guagua master and guagua workers.GuaguaMapReduceClient GuaguaMapReduceClientis the entry point for guagua mapreduce implementation application.GuaguaMapReduceConstants Constants in guagua mapreduce.GuaguaMRRecordReader GuaguaMRRecordReaderis used as a mock for mapreduce reader interface, not real reading data.GuaguaMRUnitDriver<MASTER_RESULT extends ml.shifu.guagua.io.Bytable,WORKER_RESULT extends ml.shifu.guagua.io.Bytable> Deprecated. GuaguaOptionsParser Deprecated. GuaguaOutputCommitter This output committer doesn't do anything, meant for the case where output isn't desired, or as a base for not using FileOutputCommitter.GuaguaOutputFormat This is for internal use only.GuaguaRecordWriter We don't useGuaguaRecordWriterbut hadoop MapReduce needs it.GuaguaSequenceAsBinaryRecordReader Deprecated. GuaguaSequenceAsTextRecordReader Deprecated. GuaguaSequenceRecordReader<KEY extends org.apache.hadoop.io.Writable,VALUE extends org.apache.hadoop.io.Writable> Deprecated. GuaguaWritableAdapter<W extends org.apache.hadoop.io.Writable> Deprecated. GuaguaWritableSerializer<RESULT extends ml.shifu.guagua.io.Bytable> Deprecated. -
Exception Summary Exception Description GuaguaFailTaskRuntimeException FailTaskRuntimeException which is used to fail hadoop mapper task.