Upgrading Kudu

Before upgrading, you should read the release notes for the version of Kudu that you are about to install. Note that rolling upgrades are not supported. Shut down all Kudu services before you begin upgrading the software.

Upgrade Kudu using Cloudera Manager

To use Cloudera Manager to upgrade Kudu using parcels or packages, use the following instructions. If you do not use Cloudera Manager, see Upgrade Kudu Using the Command Line.

Upgrade Kudu Using Parcels

  1. Log in to Cloudera Manager.
  2. Go to Hosts. Click Parcels.
  3. Click Check For New Parcels.
  4. Find the new version of KUDU in the list of parcels. Download, distribute, and activate it on your cluster.

Upgrade Kudu Using Packages

  1. If you use a repository, re-download the repository list file to ensure that you have the latest information. See Kudu Repository and Package Links.
  2. Stop the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Stop.
  3. Depending on your operating system, issue the following set of commands on each Kudu host:
    Operating System Upgrade Commands
    RHEL/CentOS
    sudo yum -y clean all
    sudo yum -y upgrade kudu
    Ubuntu/Debian
    sudo apt-get update
    sudo apt-get install kudu
    SLES
    sudo zypper clean --all
    sudo zypper update kudu
  4. Start the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Start.

Upgrade Kudu Using the Command Line

If you use Cloudera Manager, do not use the following command-line instructions. See Upgrade Kudu using Cloudera Manager.

  1. If you use a repository, re-download the repository list file to ensure that you have the latest information. See Kudu Repository and Package Links.
  2. Stop the Kudu master and tablet servers using the following commands:
    sudo service kudu-master stop 
    sudo service kudu-tserver stop
  3. Depending on your operating system, issue the following set of commands on each Kudu host:
    Operating System Upgrade Commands
    RHEL/CentOS
    sudo yum -y clean all
    sudo yum -y upgrade kudu
    Ubuntu/Debian
    sudo apt-get update
    sudo apt-get install kudu
    SLES
    sudo zypper clean --all
    sudo zypper update kudu
  4. Start the Kudu master and tablet servers using the following commands:
    $ sudo service kudu-master start
    $ sudo service kudu-tserver start