6.  Update the HDP Cluster Properties File

To keep the same metadata and user data when upgrading, use the directory settings and database settings in the cluster properties file of the version you are upgrading from for the base of the new cluster properties file.

Using the existing HDP cluster properties file, make the following changes:

  • For HDP 1.3 to HDP 2.1:

    • Change JOBTRACKER_HOST to RESOURCEMANAGER_HOST (leave the definition the same).

    • (Optional) Add a definition for CLIENT_HOSTS.

    • (Optional) Add a definition for KNOX_HOST.

    • (Optional) Add a definition for STORM_NIMBUS.

    • (Optional) Add a definition for STORM_SUPERVISORS.

    • (Optional) Add a definition for FALCON_HOSTS.

    • Change HA_NAMENODE_HOST to NN_HA_STANDBY_NAMENODE_HOST if you are upgrading a High Availability cluster

    • Add a definition for DB_PORT. (Default port for derby is1527.)

    • (Required) Add a definition for IS_TEZ.

    • (Required) Add a definition for IS_PHOENIX.

  • For upgrade from HDP 2.0 to HDP 2.1:

    • (Optional) Add a definition for KNOX_HOST.

    • (Optional) Add a definition for STORM_NIMBUS.

    • (Optional) Add a definition for STORM_SUPERVISORS.

    • (Optional) Add a definition for FALCON_HOSTS.

    • Add a definition for DB_PORT. (Default port for derby is1527.)

    • (Required) Add a definition for IS_TEZ.

    • (Required) Add a definition for IS_PHOENIX.

    • For High Availability clusters, update the HA properties as follows:

      • Change HA_NAMENODE_HOST to NN_HA_STANDBY_NAMENODE_HOST.

      • Change HA_JOURNALNODE_HOSTS to NN_HA_JOURNALNODE_HOSTS.

      • Change HA_CLUSTER_NAME to NN_HA_CLUSTER_NAME.

      • Change HA_JOURNALNODE_EDITS_DIR to NN_HA_JOURNALNODE_EDITS_DIR

Save the new cluster.properties file to use with the installer.


loading table of contents...