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-1 [2012/01/24 08:56] straka |
courses:mapreduce-tutorial:step-1 [2012/01/30 15:25] (current) straka |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== MapReduce | + | ====== MapReduce |
| + | |||
| + | ===== Requirements ===== | ||
| + | |||
| + | The tutorial expects you to be logged to a computer in the UFAL cluster and be able to submit jobs using SGE. In this environment, | ||
| + | |||
| + | To use the Perl MapReduce API, you need | ||
| + | |||
| + | * Perl package '' | ||
| + | * Perl package '' | ||
| + | |||
| + | ==== The Moose package ==== | ||
| + | The standard Moose package is available in the UFAL environment, | ||
| + | . / | ||
| + | to '' | ||
| + | |||
| + | echo -e "\n#MR Tutorial - Moose" >> ~/.bashrc | ||
| + | echo ". / | ||
| + | |||
| + | |||
| + | ==== The Hadoop package ==== | ||
| + | The custom Hadoop package is available in ''/ | ||
| + | export PERLLIB=" | ||
| + | export PERL5LIB=" | ||
| + | to '' | ||
| + | |||
| + | echo -e "\n#MR Tutorial - Hadoop" | ||
| + | echo ' | ||
| + | echo ' | ||
| + | |||
| + | ===== When not logged in UFAL cluster ===== | ||
| + | |||
| + | **If you are not logged in the UFAL cluster, you will need:** | ||
| + | * local Hadoop installation | ||
| + | - download '' | ||
| + | - unpack it | ||
| + | - edit '' | ||
| + | * the repository '' | ||
| + | * when using Perl API, set '' | ||
| + | * when using Java API, one of the '' | ||
| + | When using local Hadoop installation, | ||
| + | |||
| + | ---- | ||
| + | |||
| + | < | ||
| + | <table style=" | ||
| + | < | ||
| + | <td style=" | ||
| + | <td style=" | ||
| + | <td style=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
