How to install Hadoop with cloudera
NOTE: If you don't know what is Hadoop, please see this following link for details.
The same way as Cloudera.
Now you may know more about hadoop and cloudera. So you must look forward to installing it. See the following steps for details.
1, Change your /etc/apt/sources.list like following. The main points for this is to
add the sun-java6-bin and sun-java6-jre from the source deb lucid partner
deb lucid main universe restricted multiverse
deb-src lucid main universe restricted multiverse
deb lucid-security universe main multiverse restricted
deb-src lucid-security universe main multiverse restricted
deb lucid-updates universe main multiverse restricted
deb lucid-proposed universe main multiverse restricted
deb-src lucid-proposed universe main multiverse restricted
deb lucid-backports universe main multiverse restricted
deb-src lucid-backports universe main multiverse restricted
deb-src lucid-updates universe main multiverse restricted
deb lucid partner
2, Add the hadoop source link.
Put the following link
deb hardy-testing contribdeb-src hardy-testing contrib
into /etc/apt/sources.list.d/cloudera.list file.
3, Get the secret key.
sudo apt-get install curl
curl -s /archive.key | sudo apt-key add -
4, Update the source link
sudo apt-get update
sudo apt-get dist-upgrade
5, Install Hadoop
sudo apt-get install hadoop-0.20 hadoop-0.20-conf-pseudo
阅读(3034) | 评论(0) | 转发(0) |