Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
courses:mapreduce-tutorial:step-7 [2012/01/29 23:51] majlis |
courses:mapreduce-tutorial:step-7 [2013/02/08 14:36] (current) popel Milan improved our Hadoop |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| A cluster can be created using | A cluster can be created using | ||
| - | / | + | / |
| The syntax is the same as in '' | The syntax is the same as in '' | ||
| Line 11: | Line 11: | ||
| ===== Using a running cluster ===== | ===== Using a running cluster ===== | ||
| Running cluster is identified by its master. When running a Hadoop job using Perl API, existing cluster can be used by | Running cluster is identified by its master. When running a Hadoop job using Perl API, existing cluster can be used by | ||
| - | perl script.pl | + | perl script.pl -jt cluster_master: |
| + | |||
| + | ===== Running Hadoop jobs from now on ===== | ||
| + | |||
| + | From now on, it is best to run MR jobs using a one-machine cluster -- create a one-machine cluster using '' | ||
| ===== Example ===== | ===== Example ===== | ||
| Line 19: | Line 23: | ||
| / | / | ||
| # NOW VIEW THE FILE | # NOW VIEW THE FILE | ||
| - | # $EDITOR step-7-solution.pl | + | # $EDITOR step-7-wordcount.pl |
| - | rm -rf step-7-out-sol; | + | rm -rf step-7-out-sol; |
| less less step-7-out-sol/ | less less step-7-out-sol/ | ||
| Remarks: | Remarks: | ||
