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:20] straka |
courses:mapreduce-tutorial:step-31 [2012/02/06 08:26] straka |
||
---|---|---|---|
Line 35: | Line 35: | ||
===== 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 111: | Line 111: | ||
===== Exercise 1 ===== | ===== Exercise 1 ===== | ||
+ | |||
+ | Implement an AllReduce job on ''/ | ||
+ | * number of keys | ||
+ | * mean of the keys | ||
+ | * variance of the keys | ||
+ | * minimum of the keys | ||
+ | * maximum of the keys | ||
+ | You can download the template {{: | ||
+ | wget --no-check-certificate ' | ||
+ | # NOW VIEW THE FILE | ||
+ | # $EDITOR Statistics.java | ||
+ | make -f / | ||
+ | rm -rf step-31-out; | ||
+ | less step-31-out/ | ||
+ |