1. Download the CM installation package
Reference: https://blog.csdn.net/abcdu1/article/details/99742097 (1.2. Download and release the installation package local warehouse) chapter
2. Configure yum source
Reference: https://blog.csdn.net/abcdu1/article/details/99742097 (1.4) chapter
3. Close the original service
sudo stop cloudera-scm-server
sudo service cloudera-scm-server-db stop
sudo systemctl stop cloudera-scm-agent
4. Upgrade jdk to the version required by the new version of CM
5. Upgrade and install the new version of CM
sudo yum clean all
sudo yum upgrade 'cloudera-*'
reference: