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/29 15:55] straka |
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 ====== | ||
- | ===== Hadoop installation | + | ===== Requirements |
- | The tutorial expects you to be logged to a computer in the UFAL cluster. In this environment, | + | The tutorial expects you to be logged to a computer in the UFAL cluster |
- | + | ||
- | You can go through the tutorial even without being connected to UFAL cluster, but you will need | + | |
- | * local Hadoop installation | + | |
- | - download '' | + | |
- | - unpack it | + | |
- | - edit '' | + | |
- | * the repository '' | + | |
- | * when using Perl API, set '' | + | |
- | * when using Java API, | + | |
- | + | ||
- | - use '' | + | |
- | If you cannot | + | |
- | If | + | |
- | It is possible to | + | |
- | + | ||
- | ===== The Perl API ===== | + | |
To use the Perl MapReduce API, you need | To use the Perl MapReduce API, you need | ||
Line 40: | Line 24: | ||
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, | ||
---- | ---- |