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:running-jobs [2012/02/05 21:19] straka |
courses:mapreduce-tutorial:running-jobs [2013/02/08 14:33] (current) popel Milan improved our Hadoop |
||
---|---|---|---|
Line 8: | Line 8: | ||
| ^ Command ^ | | ^ Command ^ | ||
- | ^ Run Perl script '' | + | ^ Run Perl script '' |
+ | ^ Run Java job '' | ||
- | * When running | + | The options are the same for Perl and java: |
- | Choosing mode of operation: | + | | ^ Options |
- | | ^ Command | + | ^ Run locally | '' |
- | ^ Run locally | '' | + | ^ Run using specified jobtracker | '' |
- | ^ Run using specified jobtracker | '' | + | ^ Run job in dedicated cluster | '' |
- | ^ Run job in dedicated cluster | '' | + | ^ Run job in dedicated cluster and after it finishes, \\ wait for //W// seconds before stopping the cluster | '' |
- | ^ Run job in dedicated cluster and after it finishes, \\ wait for //W// seconds before stopping the cluster | '' | + | ^ Run using //R// reducers \\ (//R//>1 not working when running locally)| '' |
+ | ^ Run using //M// mappers | '' | ||
- | Specifying number of mappers and reducers: | + | From February 2012, using the parameter |
- | | ^ Command ^ | + | |
- | ^ Run using //R// reducers \\ (//R//>1 not working when running locally)| | + | |
- | ^ Run using //M// mappers | '' | + | |
- | + | ||
- | ===== Run Java jobs ===== | + | |
- | Choosing mode of operation: | + | |
- | | ^ Command ^ | + | |
- | ^ Run locally | ''/ | + | |
- | ^ Run using specified jobtracker | ''/ | + | |
- | ^ Run job in dedicated cluster | ''/ | + | |
- | ^ Run job in dedicated cluster and after it finishes, \\ wait for //W// seconds | + | |
- | + | ||
- | Specifying number of mappers | + | |
- | | ^ Command ^ | + | |
- | ^ Run using //R// reducers \\ (//R//>1 not working when running locally)| | + | |
- | ^ Run using //M// mappers | ''/ | + | |
+ | ===== Running multiple jobs ===== | ||
+ | There are several ways of running multiple jobs: | ||
+ | * Java only: Create multiple '' | ||
+ | * Create a cluster using ''/ | ||
+ | * Create a shell script running multiple jobs using '' |