Failed to Uninstall the Cluster and an Error Message Indicating the HDFS Service Uninstallation Failure Is Displayed


The cluster cannot be uninstalled, and an error message "Failed to complete un-installation of cluster 'datasight_ha_secure" is displayed.
Possible Causes:When the size of the HDFS database is too large (larger than 300 TB), the uninstallation duration exceeds 15 minutes. If this occurs, an error message indicating the HDFS uninstallation failure occurs due to the uninstallation timeout.
Procedure:This fault can be rectified in two ways:1.Rectify the fault on the portal.
Click Retry, and wait for the cluster to be uninstalled again.After the cluster is uninstalled, click Finish.
2.Rectify the fault by deleting the HDFS data in the CLI and then uninstalling the cluster again.
Use PuTTY to log in to the node where the HDFS client is located as user root. Log in to the HDFS client, and run the following commands. (/opt/hadoopclient indicates the client directory and path indicates the HDFS data storage directory. Both of the directories can be customized by users.)cd /opt/hadoopclient/HDFS/hadoop/bin,./hdfs dfs -rm -r -skipTrash
Perform uninstallation-related operations to uninstall the cluster again.

Other related questions:
How to uninstall the plug-in?
Step 1 Run the following command to go to the plug-in installation directory: # cd /etc # cd "Huawei eSight Server Management Plug-in (for Nagios)" Step 2 Run the following command to uninstall the plug-in: # python uninstall Step 3 When the following information is displayed, determine whether to retain user data based on the site requirements: Do you want to retain user data?(Y/N) If yes, enter y and pressEnter. If no, enter n and press Enter. The system begins to uninstall the plug-in. When the uninstallation is complete, the following information is displayed:> [info] uninstall success. Done. Step 4 Check whether the main configuration file nagios.cfg is configured correctly. 1. Run the following command to return to the Nagios user: # su - nagios 2. Run the following command to check the main configuration file nagios.cfg. $ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg NOTE /usr/local/nagios is an installation directory example. The nagios.cfg file is correct if the following information is displayed: Things look okay - No serious problems were detected during the pre-flight check 3. Run the following command to return to user root. $ exit Step 5 Run the following command to restart the Nagios service: # service nagios restart The Nagios service has restarted if the following information is displayed: Stopping nagios: done. Starting nagios: done.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top