Page 2
Word Count over a Given Set of Web Pages see bob throw see 1 bob 1 bob 1 run 1 throw 1 see 2 see spot run see 1 spot 1 spot 1 throw 1 run 1 Can we do word count in parallel?
Word Count over a Given Set of Web Pages see bob throw see 1 bob 1 bob 1 run 1 throw 1 see 2 see spot run see 1 spot 1 spot 1 throw 1 run 1 Can we do word count in parallel?
Automatic Parallel Execution in MapReduce (Google) Handles failures automatically, e.g., restarts tasks if a node fails; runs multiples copies of the same task to avoid a slow task slowing down the whole job
Data Flow in a MapReduce Program in Hadoop • InputFormat → 1:many • Map function • Partitioner • Sorting & Merging • Combiner • Shuffling • Merging • Reduce function • OutputFormat
Lifecycle of a MapReduce Job Time Input Map Map Reduce Reduce Splits Wave 1 Wave 2 Wave 1 Wave 2 How are the number of splits, number of map and reduce tasks, memory allocation to tasks, etc., determined?
Affichage des 12 premières pages. Téléchargez le document pour le voir en entier.
Aucun commentaire pour le moment. Soyez le premier !
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !