Trang 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?
Hiển thị 12 trang đầu. Tải tài liệu để xem đầy đủ.
Chưa có bình luận nào. Hãy là người đầu tiên!
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!