On each cluster host, execute the following command from the command shell:
msiexec /x "$MSI_PATH" /lv "$PATH_to_Installer_Log_File"
where
$MSI_PATHis the full path to MSI.$PATH_to_Installer_Log_Fileis full path to Installer log file.
Optionally, you can also specify if you want delete the data in target data directories.
To do this, use the
DESTROY_DATAcommand line option as shown below:msiexec /x "$MSI_PATH" /lv "$PATH_to_Installer_Log_File" DESTROY_DATA="yes"
![[Note]](../common/images/admon/note.png)
Note During uninstall if
DESTROY_DATAis not specified or set tono, data directories are preserved as well as thehadoopuser that owns them.

