Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Install CDH5.0.0beta2 repository

Solved Go to solution

Install CDH5.0.0beta2 repository

Explorer

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!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Install CDH5.0.0beta2 repository

Expert Contributor

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
1 REPLY 1
Highlighted

Re: Install CDH5.0.0beta2 repository

Expert Contributor

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