3. Performing a Manual Upgrade

  1. Perform the Manual Upgrade to HDP

  2. Log in to Ambari.

  3. Browse to Admin > Stack and Versions.

  4. Click on the Versions tab.

  5. Under the newly registered and installed version HDP-, is the actual software repository version in parenthesis (Ambari determined this repository version during the install). For example, in the picture below the display name is HDP- and the repository version Record this repository version. You will use it later in the manual upgrade process.

  6. Stop all services from Ambari. On the Services tab, in the Service navigation area Actions button, select Stop All to stop all services.

  7. Go to the command line on each host and move the current HDP version to the newly installed version using the hdp-select utility and repository version number (obtained in Step 4).

    hdp-select set all {repository-version}

    For example:

    hdp-select set all
  8. Restart all services from Ambari. One by one, browse to each Service in Ambari Web, and in the Service Actions menu select Restart All.

    On the client-only services, such as Tez, Pig, or Sqoop, select Refresh Configs.

    Do Not issue a Service Start. For example, do not browse to Ambari Web > Services > HDFS and select Start.


    If Hive has a MySQL component, then first start only the MySQL component. After MySQL has successfully started, Restart Hive Service.

  9. After all the services are confirmed to be started and healthy, go to the command line on the Ambari Server and run the following to finalize the upgrade, which will move the current version to the new version.

    ambari-server set-current --cluster-name=MyCluster --version-display-name=HDP-
     Ambari Admin login: admin
     Ambari Admin password: *****
  10. If the ambari-server set-current command is not successful, try restarting the Ambari Server and waiting for all agents to re-register before trying again.