1. Getting Ready to Upgrade

To prepare for upgrade, you gather the following information:

  • Cluster Properties: Save a copy of the cluster.properties file from the HDP installation directory, for example c:\hdp\cluster.properties to configure new HDP components.

  • File required for uninstall: Confirm that the Uninstallation packages are available on each node in the cluster. The uninstallation package is in C:\HadoopInstallFiles. Without these packages, the Uninstaller cannot remove the HDP packages on each node.

  • HDP data directory: Identify where user data and metadata is being stored by HDFS and MapReduce. These directories are retained during the upgrade process.

    The data directory is defined in the cluster.properties file. For example:

    #Data directory
    HDP_DATA_DIR=c:\hdp_data
  • New HDP components: Identify the hosts for the new service components and ensure that these hosts meet all the prerequisites. The new components are Falcon, Storm, and Knox.

  • Hadoop user password: You must run some of the upgrade and configuration steps with the hadoop user, therefore you must know the users password.

    [Note]Note

    If you do not know the password for the hadoop user, then reset the password to a known password and continue. For example, run the following command to change the password:

    net user hadoop NewPassword123!

loading table of contents...