Skip to main content

Home

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.

  1. Switch to Unravel install user before uninstalling Unravel.

  2. Stop Unravel

    <Unravel installation directory>/unravel/manager stop
  3. Run the following command and then follow the instructions.

    <Unravel installation directory>/unravel/manager uninstall
  4. 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
  5. 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.

  1. Roll back the changes made to Ambari/Cloudera. Refer to CDH additional instrumentation and CDP additional instrumentation to check the corresponding changes.

  2. Restart the affected services.

  3. 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
Databricks

Do the following to remove Unravel bits from Databricks:

  1. On Databricks, go to Workspace > Settings > Admin Console > Global init scripts and remove the Unravel Global init scripts from the workspace.

  2. Remove any Unravel cluster level configurations such as spark configs, spark-submit configurations, init script, and logging from the clusters.

  3. On the Unravel UI, from the upper right, select manage-icon.png > Workspaces and delete the added workspaces.

  4. Remove the Unravel binaries from the workspace.

    dbfs rm -r dbfs:/databricks/unravel