Skip to content

Introduction to MapReduce

This is an introductory and companion chapter for the Data Algorithms book on MapReduce programming model. Examples are provided in Spark and Hadoop.

Spark Examples

  • Character Count: Basic

    org.dataalgorithms.chapB09.charcount.spark.basic.CharCount
    

  • Character Count: Using InMapper Design Pattern

    org.dataalgorithms.chapB09.charcount.mapreduce.inmapper.CharCountInMapperCombiner
    

Hadoop Examples

  • Character Count: Basic MapReduce

    org.dataalgorithms.chapB09.charcount.mapreduce.basic.CharCountDriver
    org.dataalgorithms.chapB09.charcount.mapreduce.basic.CharCountMapper
    org.dataalgorithms.chapB09.charcount.mapreduce.basic.CharCountReducer
    

  • Character Count: MapReduce using InMapper Design Pattern

    org.dataalgorithms.chapB09.charcount.mapreduce.inmapper.CharCountInMapperCombinerDriver
    org.dataalgorithms.chapB09.charcount.mapreduce.inmapper.CharCountInMapperCombinerMapper
    org.dataalgorithms.chapB09.charcount.mapreduce.inmapper.CharCountInMapperCombinerReducer
    

Suggestions

Please share your comments/suggestions: mahmoud.parsian@yahoo.com

Data Algorithms Book