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/27 17:08] majlis |
courses:mapreduce-tutorial:step-1 [2012/01/30 15:25] (current) straka |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== MapReduce Tutorial : Setting the environment ====== | ====== MapReduce Tutorial : Setting the environment ====== | ||
+ | |||
+ | ===== 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 | To use the Perl MapReduce API, you need | ||
Line 6: | Line 10: | ||
* Perl package '' | * Perl package '' | ||
- | ===== The Moose package | + | ==== The Moose package ==== |
The standard Moose package is available in the UFAL environment, | The standard Moose package is available in the UFAL environment, | ||
. / | . / | ||
Line 15: | Line 19: | ||
- | ===== The Hadoop package | + | ==== The Hadoop package ==== |
The custom Hadoop package is available in ''/ | The custom Hadoop package is available in ''/ | ||
export PERLLIB=" | export PERLLIB=" | ||
export PERL5LIB=" | export PERL5LIB=" | ||
to '' | to '' | ||
- | |||
echo -e "\n#MR Tutorial - Hadoop" | echo -e "\n#MR Tutorial - Hadoop" | ||
echo ' | echo ' | ||
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=" | ||
+ | <tr> | ||
+ | <td style=" | ||
+ | <td style=" | ||
+ | <td style=" | ||
+ | </tr> | ||
+ | </ | ||
+ | </ |