Use the instructions given below to install from the MSI:
Launch the MSI installer with the
clusterproperties.txtfile created previously.![[Important]](../common/images/admon/important.png)
Important This MSI must be executed on each and every cluster node and must use the same
clusterproperties.txtfile.On each node, run a command prompt in Administrator mode (to use Administrator privileges), and execute the following command:
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
clusterproperties.txtfile (For example,d:\config\clusterproperties.txt).![[Important]](../common/images/admon/important.png)
Important The path to the
clusterproperties.txtfile 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
yesandno). If set toyes, existing HDP data will be deleted from the disk.![[Important]](../common/images/admon/important.png)
Important The installation fails, if existing data directories are non-empty.
If the
clusterproprties.txtfile has configured non-empty data directories, you must setDESTROY_DATA = yes.
The following example illustrates the command to launch the MSI installer:
msiexec /i "hdp-win-1.1.msi" /lv "hdp.log" HDP_LAYOUT="D:\config\clusterproperties.txt" HDP_DIR="D:\hdp\hadoop" DESTROY_DATA="no"(Optional): Configure compression for HDFS.
Download the
zlib1.dllfrom here.Copy the downloaded file to either
or to$HADOOP_HOME\lib\nativeC:\Windows\System32.

