Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
courses:mapreduce-tutorial:step-31 [2012/02/06 08:18] straka |
courses:mapreduce-tutorial:step-31 [2012/02/06 08:21] straka |
||
---|---|---|---|
Line 31: | Line 31: | ||
It is crucial that all the mappers run simultaneously. This can be achieved using the ''/ | It is crucial that all the mappers run simultaneously. This can be achieved using the ''/ | ||
+ | |||
+ | When the computation finishes, only one of the mappers should print the results, as all of them have the same results. For simplicity, the '' | ||
===== Example ===== | ===== Example ===== | ||
- | This example reads the keys of ''/ | + | This example reads the keys of ''/ |
<code java Sum.java> | <code java Sum.java> | ||
import org.apache.hadoop.mapreduce.*; | import org.apache.hadoop.mapreduce.*; | ||
Line 108: | Line 110: | ||
less step-31-out/ | less step-31-out/ | ||
+ | ===== Exercise 1 ===== | ||
+ | |||
+ | Implement an AllReduce job on |