Reply
Highlighted
Explorer
Posts: 13
Registered: ‎03-22-2014
Accepted Solution

Install CDH5.0.0beta2 repository

Hello,

 

I'm running CentOS 6.5 and trying to install the MapReduce Tools for use with Solr by executing the following:

 

yum install solr-mapreduce

 

How do I add the Cloudera packages repository to my OS, so I can install any packages with Yum? Thanks in advance!

 

 

Expert Contributor
Posts: 126
Registered: ‎11-01-2013

Re: Install CDH5.0.0beta2 repository

Based on the operating system you use, navigate to the repo file for your system and save it in the/etc/yum.repos.d/directory.

 

For Red Hat/CentOS/Oracle 5 (add the below lines in /etc/yum.repos.d/cloudera-cdh5)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 5 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/RPM-GPG-KEY-cloudera 
gpgcheck = 1

For Red Hat/CentOS/Oracle 6 (64-bit)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat	or CentOS 6 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera    
gpgcheck = 1

 

After doing this, you can now see the packages listed in yum list cloudera*

 

Hope this helps.

 

Em Jay