Created on 03-30-2014 01:42 AM - edited 09-16-2022 01:56 AM
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!
Created 03-31-2014 09:07 AM
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.
Created 03-31-2014 09:07 AM
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.