This section describes three common methods for upgrading from one MapR Core release to another. The workflows in this
section introduce you to the high-level steps for each method and provide links to pages showing more detail.

You can apply a patch by using the MapR Installer, by using the command line (a manual process), or by using a MapR Installer
Stanza.

Set Up the Local Repository: RHEL/CentOS

To create a local repository, download your files from the Internet and then add the repositories to each node in the cluster.

You create a local repository from files that you download from the internet, and
then add the repositories to each node in the cluster. The files that you download
differ from version to version. Using a maprtech.repo file, you specify URLs of the
RHEL/CentOS packages. See the Packages and Dependencies for MapR Software for the URLs for all release packages.

Log in as root on the node or use sudo.

Create the following directory if it does not exist:
/var/www/html/yum/base

On a computer that is connected to the internet, download the following files,
substituting the appropriate <version> and <datestamp>:

For
example:

https://package.mapr.com/<product_package>.rpm.tgz

Copy the files to /var/www/html/yum/base on the node, and
extract them there.

For
example:

tar -xvzf <product_package>.rpm.tgz

Create the base repository headers.

createrepo /var/www/html/yum/base

Verify that the content of the new
/var/www/html/yum/base/repodata directory contains
filelists.xml.gz, other.xml.gz,
primary.xml.gz, and repomd.xml.

On each node, create a text file called maprtech.repo in /etc/yum.repos.d.