[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
courses:mapreduce-tutorial:step-11 [2012/01/30 10:30]
majlis
courses:mapreduce-tutorial:step-11 [2012/01/30 16:45]
dusek
Line 30: Line 30:
   wget --no-check-certificate 'https://wiki.ufal.ms.mff.cuni.cz/_media/courses:mapreduce-tutorial:step-11-solution.txt' -O 'step-11-wc-with-perl-hash.pl'   wget --no-check-certificate 'https://wiki.ufal.ms.mff.cuni.cz/_media/courses:mapreduce-tutorial:step-11-solution.txt' -O 'step-11-wc-with-perl-hash.pl'
   # NOW VIEW THE FILE   # NOW VIEW THE FILE
-  # $EDITOR step-8-solution.pl+  # $EDITOR step-11-solution.pl
   rm -rf step-11-out-with-hash; time perl step-11-wc-with-perl-hash.pl run /home/straka/wiki/cs-text-medium/ step-11-out-with-hash   rm -rf step-11-out-with-hash; time perl step-11-wc-with-perl-hash.pl run /home/straka/wiki/cs-text-medium/ step-11-out-with-hash
   less step-11-out-with-hash/part-*   less step-11-out-with-hash/part-*
Line 51: Line 51:
 | Wordcount with combiner | 1min, 51sec | 51MB | | Wordcount with combiner | 1min, 51sec | 51MB |
 | Wordcount with hash in mapper | 1min, 14sec | 51MB | | Wordcount with hash in mapper | 1min, 14sec | 51MB |
-Using the combiner is beneficial, although manually combining the word occurrences in mapper manually is still faster.+Using the combiner is beneficial, although combining the word occurrences in mapper manually is still faster.
  
 ---- ----

[ Back to the navigation ] [ Back to the content ]