Uninstall Unravel
Caution
Ensure to backup data before deleting the Unravel installation directory. There can be a loss of data when you delete this directory.
- Switch to Unravel install user before uninstalling Unravel. 
- Stop Unravel - <Unravel installation directory>/unravel/manager stop 
- Run the following command and then follow the instructions. - <Unravel installation directory>/unravel/manager uninstall 
- Delete the following directories: - rm -rf <Unravel_installation_directory>/unravel/share rm -rf <Unravel_installation_directory>/unravel/data rm -rf <Unravel_installation_directory>/unravel/run rm -rf <Unravel_installation_directory>/unravel/tmp rm -rf <Unravel_installation_directory>/unravel/services rm -rf <Unravel_installation_directory>/unravel/logs rm -rf <Unravel_installation_directory>/unravel/sensors rm -rf <Unravel_installation_directory>/unravel/external 
- Delete the Unravel installation directory. - Note- In case you have created the - <Unravel_installation_directory>in a path that required root permissions, you must first switch to the root user and delete the directory.- rm -rf - <path/to/unravel/installation/directory>- In case of an RPM installation, uninstall the Unravel RPM package on Unravel server as the root user: - rpm -e <unravel-package-name> ##For example: rpm -e unravel-abcd.956-2020:abcd.956-1.x86_64 
Uninstalling Unravel bits from platforms
On-prem platforms
To uninstall Unravel from on-prem platforms, you must roll back the Unravel-specific changes made in your cluster manager. This requires a restart of the affected services. Hence, to avoid impacting the user's application, it is recommended to do this during a maintenance window.
- Roll back the changes made to Ambari/Cloudera. Refer to CDH additional instrumentation and CDP additional instrumentation to check the corresponding changes. 
- Restart the affected services. 
- For Ambari, remove Unravel's sensor jars from each node in the cluster. - Caution- Ensure to remove the sensor jars only after rolling back changes in Ambari. - rm -rf /usr/local/unravel-agent rm -rf /usr/local/unravel_client