Upgrading Kudu

Before upgrading, you should read the upgrade notes for the version of Kudu that you are about to install.

Upgrade Notes for Kudu 1.2 and CDH 5.10

The custom value you previously set for the Core Dump Directory parameter will be no longer valid on upgrade to CDH 5.10. Use the Kudu Master Core Dump Directory and Kudu Tablet Server Core Dump Directory parameters to specify the core dump directory. See Enabling Core Dump for the Kudu Service for using the parameters when enabling core dumps.

Upgrading Kudu Using Cloudera Manager

You can upgrade Kudu in a Cloudera Manager deployment using either parcels or packages.

Upgrading Kudu Using Parcels

  1. First, download the Custom Service Descriptor (CSD) file for Kudu and upload it to /opt/cloudera/csd/ on the Cloudera Manager server. Restart the Cloudera Manager server using the following operating system command.
    $ sudo service cloudera-scm-server restart
  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

Using RHEL:

  1. First, download the Custom Service Descriptor (CSD) file for Kudu and upload it to /opt/cloudera/csd/ on the Cloudera Manager server. Restart the Cloudera Manager server using the following operating system command.
    $ sudo service cloudera-scm-server restart
  2. Stop the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Stop.
  3. Issue the following commands at the command line on each Kudu host:
    $ sudo yum -y clean all
    $ sudo yum -y upgrade kudu
  4. Start the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Start.

Using Ubuntu:

  1. First, download the Custom Service Descriptor (CSD) file for Kudu and upload it to /opt/cloudera/csd/ on the Cloudera Manager server. Restart the Cloudera Manager server using the following operating system command.
    $ sudo service cloudera-scm-server restart
  2. If you use a repository, re-download the repository list file to ensure that you have the latest information.
    Kudu Repository and Package Links
    Operating System Repository Package Individual Packages
    RHEL RHEL 6 or RHEL 7 RHEL 6
    Ubuntu Trusty, Xenial Trusty, Xenial
    SLES SLES 12 SLES 12
    Debian Jessie Jessie
  3. Stop the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Stop.
  4. Issue the following commands at the command line on each Kudu host:
    $ sudo apt-get update
    $ sudo apt-get install kudu
  5. Start the Kudu service in Cloudera Manager. Go to the Kudu service and select Actions > Start.

Upgrading Kudu Using the Command Line

To upgrade Kudu on a cluster using the command-line, run these commands on the appropriate Kudu master and tablet server hosts in your cluster:

  1. Stop the Kudu master and tablet server services:
    $ sudo service kudu-master stop
    $ sudo service kudu-tserver stop
  2. Upgrade the packages.
    • On RHEL or CentOS hosts:
      sudo yum clean all
      sudo yum upgrade kudu
    • On SLES hosts:
      sudo zypper clean --all
      sudo zypper update kudu
    • On Ubuntu or Debian hosts:
      sudo apt-get update
      sudo apt-get install kudu
  3. Start the Kudu master and tablet server services:
    $ sudo service kudu-master start
    $ sudo service kudu-tserver start