4. Optional - Install Client Host

A client host has all the HDP JAR files on it for communicating with Hive, HDFS, etc. Note that you will not find any HDP service running on the client host machine.

Use the following instructions to install a client host:

  1. Copy existing clusterproperties.txt file from any host machine in your cluster.

  2. Run the HDP installer from the client host. Execute the following command on your client host machine:

     msiexec /i "<$MSI_PATH>" /lv "<$PATH_to_Installer_Log_File>" HDP_LAYOUT="<$PATH_to_clusterproperties.txt_File>" HDP_DIR="<$PATH_to_HDP_Install_Dir>" DESTROY_DATA="<Yes_OR_No>"

    Ensure that you provide appropriate values for the following mandatory command line option:

    • HDP_LAYOUT: Mandatory parameter. Provide location of the copied clusterproperties.txt file on your client host machine (For example, d:\config\clusterproperties.txt).

      [Important]Important

      The path to the clusterproperties.txt file must be absolute. Relative paths will not work.

    Optionally, you can also use the following command line options:

    • HDP_DIR: Install directory for HDP (For example, d:\hdp). Default value is <$Default_Drive>/hdp.

    • DESTROY_DATA: Specifies whether to preserve or delete existing data in target data directories (allowed values are undefined(default), yes, and no).