Upgrading Cloudera Manager Using Packages
Minimum Required Role: Cluster Administrator (also provided by Full Administrator)
- Upgrades the database schema to reflect the current version.
- Upgrades the Cloudera Manager Server and all supporting services.
- Upgrades the Cloudera Manager agents on all hosts.
- Redeploys client configurations to ensure that client services have the most current configuration.
Upgrading Cloudera Manager does not upgrade the version of CDH used in clusters managed by Cloudera Manager. See Upgrading CDH Using Cloudera Manager for more details.
Fill in the following form to create a customized set of instructions for your Cloudera Manager upgrade.
Loading Filters ...
- Collect information about your environment.
- Log in to the Cloudera Manager server host using ssh.
ssh my_cloudera_manager_server_host
- Run the following commands:
For operating system information:
lsb_release -a
For database information:cat /etc/cloudera-scm-server/db.properties
... com.cloudera.cmf.db.type=mysql com.cloudera.cmf.db.host=localhost:port com.cloudera.cmf.db.name=scm com.cloudera.cmf.db.user=scm com.cloudera.cmf.db.password=SOME_PASSWORD
- Log in to the Cloudera Manager Admin console and find the following:
- The version of Cloudera Manager used in your cluster. Go to .
- The version of the JDK deployed in the cluster. Go to .
- Log in to the Cloudera Manager server host using ssh.
- Any content not applicable to your environment will not be shown.
- Rollback of your software and data is not supported.
- If you are upgrading from Cloudera Manager 5.5.0 or lower to Cloudera Manager 5.5.1 or higher, A cluster re-start is required which will require downtime for the cluster.
- For upgrades other than from Cloudera Manager 5.5.0 or lower to Cloudera Manager 5.5.1 or higher. Downtime for the cluster is not required to complete the Cloudera Manager upgrade.
- Downtime for the cluster is not required to complete the Cloudera Manager upgrade; for services that contribute to Cloudera Navigator audits, lineage, or search, restarting the service is recommended but can be scheduled independently of the upgrade.
- Cloudera Manager 6.x supports upgrading from Cloudera Manager 5.7 or higher.
- Cloudera Manager 6.x must use JDK 1.8.
- Cloudera Manager 6.x only supports Redhat/Centos 6 or 7.
- Cloudera Manager 6.x only supports SLES 12.
- Cloudera Manager 6.x only supports Ubuntu 16.04 (Xenial).
- Cloudera Manager 6.x only supports Debian 8 (jessie).
Continue reading:
- Before You Begin
- Backup Databases
- Establish Access to the Software
- Upgrade the Cloudera Manager Server
- Upgrade the Cloudera Manager Agents
- Perform Post Upgrade Steps
- Upgrade Cloudera Navigator Encryption Components
- (Optional) Upgrade CDH
Before You Begin
- You must have SSH access to the Cloudera Manager server hosts and be able to login using the root account or an account that has password-less sudo permission for all hosts.
- Review the Requirements and Supported Versions.
- Review the Release Notes:
- Review the Cloudera Security Bulletins.
- You should have either Oracle JDK 7 or JDK 8 installed on all the hosts. More Information. If you plan to use Spark 2.2, you must install Oracle JDK 8 and configure the Java Home Directory property for all the hosts in the cluster. See Java Development Kit Installation.
- If you have previously installed Kafka 1.2, and are upgrading from Cloudera Manager 5.4 or lower, remove the Kafka CSD:
- Determine the location of the CSD directory:
- Select .
- Click the Custom Service Descriptors category.
- Retrieve the directory from the Local Descriptor Repository Path property.
- Delete the Kafka CSD from the directory.
- Determine the location of the CSD directory:
- Check the Package Dependencies. A Cloudera Manager upgrade can introduce new package dependencies. Your organization may have restrictions or require prior approval for installation of new packages.
Backup Databases
- Stop the Cloudera Management Service.
- Login to the Cloudera Manager Admin Console.
- Select .
- Select .
- Log in to the Cloudera Manager server host using ssh.
ssh my_cloudera_manager_server_host
- If you have not already done so, collect database information by running the following command:
cat /etc/cloudera-scm-server/db.properties
... com.cloudera.cmf.db.type=mysql com.cloudera.cmf.db.host=localhost:port com.cloudera.cmf.db.name=scm com.cloudera.cmf.db.user=scm com.cloudera.cmf.db.password=SOME_PASSWORD
- Back up the Cloudera Manager server database – Run the following command. (The command displayed below depends on the database you selected in the
form at the top of this page. Replace placeholders with the actual values returned from the db.properties file):
- MySQL
-
mysqldump --databases scm --host=database_hostname --port=datbase_port -u scm -p > $HOME/scm-backup-`date +%F`.sql
Note: If the db.properties file does not contain a port number, omit the port number parameter from the above command. . - PostgreSQL/Embedded
-
pg_dump -h database_hostname -U scm -W -p database_port scm > $HOME/scm-backup-`date +%F`.sql
- Oracle
- Work with your database administrator to ensure databases are properly backed up.
For more information about backing up databases, see Backing Up Databases.
- Backup All other databases - For database information, go to Clusters > Cloudera
Management Service > Configuration, select the Database category. You may need to contact your database administrator to
obtain the passwords.
These databases can include Reports Manager, Navigator Audit Server, Navigator Metadata Server, and Activity Monitor (Only used for MapReduce 1 monitoring).
Run the following commands to backup the databases. (The command displayed below depends on the database you selected in the form at the top of this page. Replace placeholders with the actual values.):
- MySQL
-
mysqldump --databases database_name --host=database_hostname --port=database_port -u database_username -p > $HOME/database_name-backup-`date +%F`.sql
- PostgreSQL/Embedded
-
pg_dump -h database_hostname -U database_username -W -p database_port database_name > $HOME/database_name-backup-`date +%F`.sql
- Oracle
- Work with your database administrator to ensure databases are properly backed up.
- Start the Cloudera Management Service if you are NOT performing the Cloudera Manager
server upgrade immediately.
- Login to the Cloudera Manager Admin Console
- Select .
- Select .
Establish Access to the Software
Cloudera Manager needs access to a package repository that contains the updated software packages.
If the Cloudera Manager server host has internet access, you can use the publicly available repositories from https://archive.cloudera.com. Fill in the form at the top of this page to generate the repository file for your system and the version of Cloudera Manager you want to upgrade to. The file created allows you to upgrade to the latest maintenance version for that minor version.
If the Cloudera Manager server host does not have internet access, configure a local package repository hosted on your network, and enter the repository URL below to generate the repository file. For example: http://MyHostname:port/cm
Package Repository URL:
- Log in to the Cloudera Manager server host.
ssh my_cloudera_manager_server_host
-
- Redhat / CentOS
-
Create a file named cloudera_manager.repo with the following content:
[cloudera-manager] # Packages for Cloudera Manager name=Cloudera Manager baseurl=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15 gpgkey=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera gpgcheck=1
- SLES
-
Create a file named cloudera_manager.repo with the following content:
[cloudera-manager] # Packages for Cloudera Manager name=Cloudera Manager baseurl=https://archive.cloudera.com/cm5/sles/12/x86_64/cm/5.15 gpgkey=https://archive.cloudera.com/cm5/sles/12/x86_64/cm/RPM-GPG-KEY-cloudera gpgcheck=1
- Debian / Ubuntu
-
Create a file named cloudera_manager.list with the following content:
# Packages for Cloudera Manager deb https://archive.cloudera.com/cm5/debian/jessie/amd64/cm/ jessie-cm5.15 contrib deb-src https://archive.cloudera.com/cm5/debian/jessie/amd64/cm/ jessie-cm5.15 contrib
The repository file, as created, specifies an upgrade to the most recent maintenance release of the specified minor release. If you would like to upgrade to an specific maintenance version, for example 5.15.1, replace 5.15 with 5.15.1 in the generated repository file shown above.
- Backup the existing repository directory.
- Redhat / CentOS
-
sudo cp -rf /etc/yum.repos.d $HOME/yum.repos.d-`date +%F`
- SLES
-
sudo cp -rf /etc/zypp/repos.d $HOME/repos.d-`date +%F`
- Debian / Ubuntu
-
sudo cp -rf /etc/apt/sources.list.d $HOME/sources.list.d-`date +%F`
- Remove any older files in the existing repository directory:
- Redhat / CentOS
-
sudo rm /etc/yum.repos.d/cloudera*manager.repo*
- SLES
-
sudo rm /etc/zypp/repos.d/cloudera*manager.repo*
- Debian / Ubuntu
-
sudo rm /etc/apt/sources.list.d/cloudera*.list*
- Copy the repository file created above to the repository directory:
- Redhat / CentOS
-
sudo cp cloudera_manager.repo /etc/yum.repos.d/
- SLES
-
sudo cp cloudera_manager.repo /etc/zypp/repos.d/
- Debian / Ubuntu
-
sudo cp cloudera_manager.list /etc/apt/sources.list.d/
Upgrade the Cloudera Manager Server
- Log in to the Cloudera Manager server host as the root user.
ssh root@my_cloudera_manager_server_host
- Back up the server and the agent directories:
sudo cp -r /etc/cloudera-scm-server $HOME/cloudera-scm-server-`date +%F` sudo cp -r /etc/cloudera-scm-agent $HOME/cloudera-scm-agent-`date +%F`
- Stop the Cloudera Management Service.
- Login to the Cloudera Manager Admin Console.
- Select .
- Select .
Important:Not stopping the Cloudera Management Service at this point might cause management roles to crash or the Cloudera Manager server may fail to restart.
If there are replication jobs, snapshot jobs, or other commands running when you stop Cloudera Manager Server, Cloudera Manager Server may fail to start after the upgrade.
- Ensure that you have disabled any scheduled replication or snapshot jobs and wait for any running commands from the Cloudera Manager admin console to complete before proceeding with the upgrade.
- Stop the Cloudera Manager Server.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl stop cloudera-scm-server
- Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-server stop
- Stop the Cloudera Manager Agent.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl stop cloudera-scm-agent
- Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-agent stop
- Upgrade the packages. Note: If you receive the following error message when running these commands: [Errno 14] HTTP Error 404 - Not Found, make sure the URL in the cloudera-manage.listcloudera-manager-repo file is correct and is reachable from the Cloudera Manager server host.
- Redhat / CentOS
-
sudo yum clean all sudo yum upgrade cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
- SLES
-
sudo zypper clean --all sudo zypper up cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
- Debian / Ubuntu
-
sudo apt-get clean sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
Configuration file '/etc/cloudera-scm-agent/config.ini' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version.
You might receive a similar prompt for /etc/cloudera-scm-server/db.properties. Answer N to both prompts. - If you customized the /etc/cloudera-scm-agent/config.ini file, your customized file is renamed with the extension .rpmsave or .dpkg-old. Merge any customizations into the /etc/cloudera-scm-agent/config.ini file that is installed by the package manager.
-
Verify that you have the correct packages installed.
rpm -qa 'cloudera-manager-*'
cloudera-manager-server-5.15.0-..cm... cloudera-manager-agent-5.15.0-..cm... cloudera-manager-daemons-5.15.0-..cm... cloudera-manager-server-db-2-5.15.0-..cm...
dpkg-query -l 'cloudera-manager-*'
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-======================-======================-============================================================ ii cloudera-manager-agent 5.15.0-0.cm...~sq The Cloudera Manager Agent ii cloudera-manager-daemo 5.15.0-0.cm...~sq Provides daemons for monitoring Hadoop and related tools. ii cloudera-manager-serve 5.15.0-0.cm...~sq The Cloudera Manager Server
- Start the Cloudera Manager Agent.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl start cloudera-scm-agent
You should see no response if there are no errors starting the agent. - Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-agent start
You should see the following:Starting cloudera-scm-agent: [ OK ]
- Start the Cloudera Manager Server.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl start cloudera-scm-server
You should see no response if there are no errors starting the Cloudera Manager server. - Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-server start
You should see the following:Starting cloudera-scm-server: [ OK ]
- Log in to the Cloudera Manager Admin Console. It can take several minutes for Cloudera Manager Server to start, and the console is unavailable until the server startup is complete. The Upgrade Cloudera Manager page displays. Continue with the steps below to upgrade the Cloudera Manager Agents.
Upgrade the Cloudera Manager Agents
-
You can upgrade the agents using one of the two options below.
- Option 1. Upgrade the Agents using Cloudera Manager (Recommended)
-
After the Cloudera Manager server starts and you log in to the Cloudera Manager Admin Console, the Upgrade Cloudera Manager page displays. (It may take several minutes for the server to start.) This page displays the current status of your upgrade. A green check icon indicates that an upgrade step has been successfully completed.
The status of Agent upgrades is displayed in one or more groups. Because you have only upgraded the Cloudera Manager agent on the Cloudera Manager server host, the first group shows that host as having upgraded agent. If the hosts manged by Cloudera Manager have different operating systems, a group for each operating system displays the Agent upgrade status for those hosts.
After the Cloudera Manager server starts and you log in to the Cloudera Manager Admin Console, the Upgrade Cloudera Manager page displays. (It may take several minutes for the server to start.)
- If there are more than one group of hosts that require agent upgrades, select the group from the drop-down list
labeled Upgrade Cloudera Manager Agent Packages running on:. If there is only one group that requires upgrades, this drop-down list does not appear.
In Cloudera Manager 5.15 or higher, Cloudera Manager can upgrade agents even they are running on different operating systems or versions (One OS group at a time).
- Click Yes, I would like to upgrade Cloudera Manager Agent packages now.
- Click Continue.
The Upgrade Cloudera Manager Agent Packages page displays.
- Click Upgrade Cloudera Manager Agent packages
The Upgrade Cloudera Manager Agent Packages page displays.
- If you are using a local package repository instead of the public repository at https://archive.cloudera.com, select the Custom Repository option when installing the Cloudera Manager Agent packages and enter the Custom Repository URL:
- Redhat / CentOS
-
Use the baseurl value in the cloudera-manager.repo file as the Custom Repository. Use the gpgkey value as the Custom GPG Key URL.
- SLES
-
Use the baseurl value in the cloudera-manager.repo file as the Custom Repository. Use the gpgkey value as the Custom GPG Key URL.
- Debian / Ubuntu
-
Use the entire deb url contrib line from the cloudera-Manager.list file as the Custom Repository. Use the url/archive.key as the Custom GPG Key URL.
- Click Continue.
The Accept JDK License page displays.
- Select Install Oracle Java SE Development Kit (JDK 7) if you want to install JDK 7 on all hosts.
- Click Continue.
The Enter Login Credentials page displays.
- Specify credentials and initiate Agent installation:
- Select root for the root account, or select Another user and enter the username for an account that has password-less sudo permission.
- Select an authentication method:
- If you choose the All hosts accept same password option, enter and confirm the password.
- If you choose the All hosts accept same private key option, provide a passphrase and path to the required key files.
You can modify the default SSH port if necessary.
- Specify the maximum Number of Simultaneous Installations to run at once. The default and recommended value is 10. You can adjust this based on your network capacity.
- Click Continue.
The Cloudera Manager Agent packages and, if selected, the JDK are installed.
When the installation completes, the Upgrade Cloudera Manager page displays the status of the upgrade.
If there are additional groups of hosts that require Agent upgrades, select the next group from the Upgrade Cloudera Manager Agent Packages running on: drop-down list, and repeat the agent installation steps.
- Click Run Host Inspector to run the host inspector
The Host Inspector opens in a new tab and runs to inspect your managed hosts for correct versions and configurations. If problems occur, you can make changes and then rerun the inspector.
When you are satisfied with the inspection results, return to the tab where the upgrade is running and click the link to go back to the Home Page.
The Cloudera Manager Home page opens and displays the status of the cluster. It can take several minutes for all of the services to display their current status. You may need to restart some services or redeploy stale client configurations.
- Click Continue.
The Cloudera Manager Agent packages and, if selected, the JDK are installed.
The Host Inspector runs to inspect your managed hosts for correct versions and configurations. If problems occur, you can make changes and then click Run Again to rerun the inspector.
- Click Continue.
The Review Changes page displays and suggests configuration changes you may need to make.
- Make any necessary changes and click Continue.
The Upgrade Wizard restarts the Cloudera Manager Management Service.
- Click Finish.
If the Upgrade Cloudera Manager page does not display after you upgraded the packages on the Cloudera Manager server host, open the following URL in your web browser:- Cloudera Manager 5.15 or higher:
https://my_cloudera_manager_server_host:port/cmf/upgrade
- Cloudera Manager 5.14 or lower:
https://my_cloudera_manager_server_host:port/cmf/upgrade-wizard/welcome
- If there are more than one group of hosts that require agent upgrades, select the group from the drop-down list
labeled Upgrade Cloudera Manager Agent Packages running on:. If there is only one group that requires upgrades, this drop-down list does not appear.
- Option 2. Upgrade the Agents using the Command Line
-
- Assume your Cloudera Manager agents (exclude the Cloudera Manager Server) are running on
host1.example.com ... hostn.example.com
- SSH to each Cloudera Manager host.
ssh host1.example.com
You could also multiplex the same set of commands to all hosts by using csshX, pdsh or pssh. -
Tip: If you have a mixed operating system environment, adjust the Operating System filter at the top of the page for each operating system. The guide will generate the repo file for you automatically here.
- Redhat / CentOS
-
Create a file named cloudera_manager.repo with the following content:
[cloudera-manager] # Packages for Cloudera Manager name=Cloudera Manager baseurl=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15 gpgkey=https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/RPM-GPG-KEY-cloudera gpgcheck=1
- SLES
-
Create a file named cloudera_manager.repo with the following content:
[cloudera-manager] # Packages for Cloudera Manager name=Cloudera Manager baseurl=https://archive.cloudera.com/cm5/sles/12/x86_64/cm/5.15 gpgkey=https://archive.cloudera.com/cm5/sles/12/x86_64/cm/RPM-GPG-KEY-cloudera gpgcheck=1
- Debian / Ubuntu
-
Create a file named cloudera_manager.list with the following content:
# Packages for Cloudera Manager deb https://archive.cloudera.com/cm5/debian/jessie/amd64/cm/ jessie-cm5.15 contrib deb-src https://archive.cloudera.com/cm5/debian/jessie/amd64/cm/ jessie-cm5.15 contrib
- Backup the existing repository directory.
- Redhat / CentOS
-
sudo cp -rf /etc/yum.repos.d $HOME/yum.repos.d-`date +%F`
- SLES
-
sudo cp -rf /etc/zypp/repos.d $HOME/repos.d-`date +%F`
- Debian / Ubuntu
-
sudo cp -rf /etc/apt/sources.list.d $HOME/sources.list.d-`date +%F`
- Remove any older files in the existing repository directory:
- Redhat / CentOS
-
sudo rm /etc/yum.repos.d/cloudera*manager.repo*
- SLES
-
sudo rm /etc/zypp/repos.d/cloudera*manager.repo*
- Debian / Ubuntu
-
sudo rm /etc/apt/sources.list.d/cloudera*.list*
- Copy the repository file created above to the repository directory:
- Redhat / CentOS
-
sudo cp cloudera_manager.repo /etc/yum.repos.d/
- SLES
-
sudo cp cloudera_manager.repo /etc/zypp/repos.d/
- Debian / Ubuntu
-
sudo cp cloudera_manager.list /etc/apt/sources.list.d/
- Back up the agent directory.
cp -r /etc/cloudera-scm-agent $HOME/cloudera-scm-agent.bak
- Stop the Cloudera Manager Agent.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl stop cloudera-scm-agent
- Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-agent stop
-
Upgrade the agent packages.
- Redhat / CentOS
-
sudo yum clean all sudo yum repolist
sudo yum upgrade cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
- SLES
-
sudo zypper clean --all
sudo zypper up cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
- Debian / Ubuntu
-
sudo apt-get clean sudo apt-get update sudo apt-get dist-upgrade
sudo apt-get install cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server-db-2
Configuration file '/etc/cloudera-scm-agent/config.ini' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version.
You might receive a similar prompt for /etc/cloudera-scm-server/db.properties. Answer N to both prompts. - If you customized the /etc/cloudera-scm-agent/config.ini file, your customized file is renamed with the extension .rpmsave or .dpkg-old. Merge any customizations into the /etc/cloudera-scm-agent/config.ini file that is installed by the package manager.
-
Verify that you have the correct packages installed.
rpm -qa 'cloudera-manager-*'
cloudera-manager-agent-5.15.0-..cm... cloudera-manager-daemons-5.15.0-..cm... cloudera-manager-server-db-2-5.15.0-..cm...
- Start the Cloudera Manager Agent.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl start cloudera-scm-agent
You should see no response if there are no errors starting the agent. - Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-agent start
You should see the following:Starting cloudera-scm-agent: [ OK ]
- In Cloudera Manager 5.15 or higher, you can monitor the progress at https://my_cloudera_manager_server_host:port/cmf/upgrade.
- Run the Run Host Inspector: Select and click Inspect All Hosts.
The Host Inspector runs to inspect your managed hosts for correct versions and configurations. If problems occur, you can make changes and then rerun the inspector.
The Cloudera Manager Home page opens and displays the status of the cluster. It can take several minutes for all of the services to display their current status. You may need to restart some services or redeploy stale client configurations.
- Assume your Cloudera Manager agents (exclude the Cloudera Manager Server) are running on
- If you are upgrading from Cloudera Manager 5.5.0 or lower to Cloudera Manager 5.5.0 or higher:
- Stop the cluster:
- On the tab, click to the right of the cluster name and select Stop.
- Click Stop in the confirmation screen. The Command Details window
shows the progress of stopping services.
When All services successfully stopped appears, the task is complete and you can close the Command Details window.
- Hard restart the agent on all hosts to update and restart the supervisord process:
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo service cloudera-scm-agent next_stop_hard sudo service cloudera-scm-agent restart
- Other Linux Distributions:
-
sudo service cloudera-scm-agent hard_restart
- Start the cluster:
- On the tab, click to the right of the cluster name and select Start.
- Click Start that appears in the next screen to confirm. The Command
Details window shows the progress of starting services.
When All services successfully started appears, the task is complete and you can close the Command Details window.
- Stop the cluster:
- Start the Cloudera Management Service and adjust any configurations when prompted.
- Login to the Cloudera Manager Admin Console
- Select .
- Select .
Perform Post Upgrade Steps
- If you upgraded the JDK, do the following:
- If the Cloudera Manager Server host is also running a Cloudera Manager Agent, restart the Cloudera Manager Server:
- Restart the Cloudera Manager Server.
- Redhat 7, SLES 12, Debian 8, Ubuntu 16.04
-
sudo systemctl restart cloudera-scm-server
- Redhat 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
-
sudo service cloudera-scm-server restart
- Open the Cloudera Manager Admin console and set the Java Home Directory property in the host configuration:
- Go to
- Set the value to the path to the new JDK.
- Click Save Changes.
- Restart all services:
- On the tab, click next to the cluster name, select Restart and confirm.
- If Cloudera Manager reports stale configurations after the upgrade, you may
need to restart the cluster services and redeploy the client configurations. If you are also upgrading CDH, this step is not required.
Stale configurations can occur after a Cloudera Manager upgrade when a default configuration value has changed, often required to fix a serious problem. Configuration changes that result in Cloudera Manager reporting stale configurations are described the Cloudera Manager release notes.
- On the tab, click next to the cluster name, select Restart and confirm.
- On the tab, click next to the cluster name, select Deploy Client Configuration and confirm.
- If upgrading from Navigator 2.6 (Cloudera Manager 5.7) or lower:
- Start and log into the Cloudera Navigator data management component UI. The Upgrading Navigator page displays. Depending on the amount of data in the Navigator Metadata Server storage directory, the upgrade process can take three to four hours or longer.
When the upgrade is complete, click Continue. The Cloudera Navigator landing page is displayed.
- If you disabled any backup or snapshot jobs before the upgrade, now is a good time to re-enable them.
- The Cloudera Manager upgrade is now complete. If Cloudera Manager is not working correctly, or the upgrade did not complete, see Troubleshooting Installation Problems.
Upgrade Cloudera Navigator Encryption Components
Upgrade any Cloudera Navigator Encryption components deployed in your cluster:
- Cloudera Navigator Key Trustee Server
- Cloudera Navigator Key HSM
- Cloudera Navigator Key Trustee KMS
- Cloudera Navigator Encrypt.
If you are still using Key Trustee Server 5.4, and you are upgrading to Cloudera Manager 5.10 or higher, you must upgrade the Key Trustee Server to a more recent version.
You can upgrade other Cloudera Navigator components at any time. You do not have to perform these upgrades when upgrading Cloudera Manager or CDH.
(Optional) Upgrade CDH
<< Upgrading Cloudera Manager | ©2016 Cloudera, Inc. All rights reserved | Troubleshooting a Cloudera Manager Upgrade >> |
Terms and Conditions Privacy Policy |