I had configured only YARN in my original post on how to Install Cloudera Hadoop (CDH4) with YARN (MRv2) in Pseudo mode on Ubuntu 12.04 LTS.
Importantly, YARN is not ready for production yet, so we’ll go ahead and install MRv1 to get some production development done.
Stop the YARN Daemons
We first have to stop all daemons associated with YARN only packages.
sudo service hadoop-yarn-resourcemanager stop
sudo service hadoop-yarn-nodemanager stop
sudo service hadoop-mapreduce-historyserver stop
Install the Missing MRv1 Packages
Next, we’ll install 2 packages that are required for Map Reduce v1, but were not also part of the MRv2/YARN installation.
sudo apt-get install hadoop-0.20-mapreduce-jobtracker
sudo apt-get install hadoop-0.20-mapreduce-tasktracker
Start the MapReduce v1 Daemons
sudo service hadoop-0.20-mapreduce-jobtracker start
sudo service hadoop-0.20-mapreduce-tasktracker start