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
- 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
- Go to Hosts. Click Parcels.
- Click Check For New Parcels.
- 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:
- 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
- Stop the Kudu service in Cloudera Manager. Go to the Kudu service and select .
- Issue the following commands at the command line on each Kudu host:
$ sudo yum -y clean all $ sudo yum -y upgrade kudu
- Start the Kudu service in Cloudera Manager. Go to the Kudu service and select .
Using Ubuntu:
- 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
- If you use a repository, re-download the repository list file to ensure that you have the latest information.
- Stop the Kudu service in Cloudera Manager. Go to the Kudu service and select .
- Issue the following commands at the command line on each Kudu host:
$ sudo apt-get update $ sudo apt-get install kudu
- Start the Kudu service in Cloudera Manager. Go to the Kudu service and select .
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:
- Stop the Kudu master and tablet server services:
$ sudo service kudu-master stop $ sudo service kudu-tserver stop
- 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
- On RHEL or CentOS hosts:
- Start the Kudu master and tablet server services:
$ sudo service kudu-master start $ sudo service kudu-tserver start