Install cloudera hadoop on linux
This article talks about installing hadoop on single host machine
hadoop is framework for large amount of data processing paralleled
Hadoop implementation provided by different vendors like hortionworks and cloudera.
This article talks about install cloudera hadoop on single machine.
To setup cloudera hadoop, java is required.
if java is not already installed, install JDK 1.6, at least update 8
Please donwnload cloudera-testing.repo from http://archive.cloudera.com/redhat/cdh/ and copy it to /etc/yum.repos.d/ and make sure you update yum command
Please run below commands to install hadoop,hive and pig
$ yum install hadoop-0.20 -y
$ yum install hadoop-hive -y
$ yum install hadoop-pig -y
The above commands installs hadoop to /usr/lib/hadoop folder, hive installs to /usr/lib/hive, pig to /usr/lib/pig
please setup the environment variables as described below in .bash_rc file
$ \vi ~/.bashrcsave it to .bashrc file
$ source ~/.bashrc
Open $HADOOP_HOME/conf/hadoop-env.sh. Add JAVA_HOME path. Ex:
* Open $HADOOP_HOME/conf/core-site.xml. Add the Namenode server name or localhost and port for fs.default.name. Ex: