Upgrading HDP to Cloudera Runtime 7.1.x This section helps you to upgrade from HDP 2.6.5.x to the Cloudera Runtime 7.1.x. HDP PrerequisitesBefore upgrading HDP, you must review the prerequisites.Backup HDP ClusterCloudera recommends that you back up the HDP 2.6.5.x services managed by Ambari 2.6.x.x. Backup databasesMake sure that you have reviewed and completed all prerequisites described in above. Register software repositoriesBefore you use Ambari to perform the stack upgrade, you must register the software repositories for the new target version with Ambari and then install the software on all hosts in the cluster.Install software on the hostsIf you have successfully registered the software repositories for the new target version with Ambari, you can now install the software on all hosts in the cluster.Preparing the services for upgradeYou must complete the pre-upgrade steps for the components and services that you are going to upgrade.Upgrading Ambari Metrics System and SmartSenseAs part of the Ambari 7.1.x.x release, the schema for the Ambari Metrics System has significantly changed. This change requires additional steps to be performed before upgrading to HDP intermediate bits. Because SmartSense depends on the Ambari Metrics System, SmartSense also requires similar handling. The following steps guide you through upgrading the Ambari Metrics System and SmartSense.Backing up Ambari infra dataIn Ambari 7.1.x.x, Ambari Infra Solr uses Solr 7. For data stored in the existing Solr 5 implementation used by Ambari 2.6.2.x, the data stored in Ambari Infra must be backed up and the Ambari Infra Solr services must be upgraded. Perform the HDP upgradeAfter you have performed the required pre-upgrade steps and backed up all the relevant data, you can proceed with the process to upgrade your cluster to HDP intermediate bits.Post-HDP-upgrade tasksAfter the HDP cluster is upgraded to HDP intermediate bits, ensure that you check the cluster settings, migration, and restore settings are correct.Troubleshooting the HDP upgradeIn the event of a problem, contacting Cloudera Support is highly recommended. Alternatively, you can perform these troubleshooting procedures.Rollback Ambari to 2.6.5You must use the backup of Ambari 2.6.x to perform the following steps. Rollback HDP Services You must rollback the HDP services in the following order to restore to HDP 2.6.5.