starting from vanilla centos 6.2 install ( CentOS-6.2-i386-LiveCD.iso )
following https://ccp.cloudera.com/display/CDH4B1/CDH4+Installation
installed oracle jdk
./jdk-6u29-linux-i586-rpm.bin
step1 add or build repo
"download and install cdh4 package"
$ wget http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/cdh4-repository-1-0.noarch.rpm
$ yum --nogpgcheck localinstall cdh4-repository-1-0.noarch.rpm
... lots of output ...
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : cdh4-repository-1-0.noarch 1/1
Installed:
cdh4-repository.noarch 0:1-0
Complete!
step 3) install yarn
$ rpm --import http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
$ yum install hadoop-yarn-resourcemanager
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.nwresd.org
* extras: mirrors.cat.pdx.edu
* updates: mirror.spro.net
Setting up Install Process
No package hadoop-yarn-resourcemanager available.
Error: Nothing to do
hmmm. x86_64 in paths. me thinks this is an architecture issue...