Uninstalling the Software
Uninstalling Prometheus, Grafana, and Node Exporter
Before starting the uninstallation, stop the Prometheus, Grafana, and Node Exporter services on target nodes, and then delete the installation packages from the /opt/prometheus directory on all nodes.
cd /opt/prometheus rm -rf *
Uninstalling LoadsMetric
Stop the LoadsMetricApplication process, run the uninstall command, and delete all files from the /home/hadoop directory.
cd /home/hadoop/loadsmetric-software sh loadsmetric_deploy.sh stop sh loadsmetric_deploy.sh uninstall cd .. rm -rf *
Uninstalling OmniScheduler
- Delete the OmniScheduler JAR package from the server1 node.
cd ${HADOOP_HOME}/share/hadoop/yarn/lib rm -rf boostkit-yarn-schedule-load-evolution-1.0.0.jar - Comment out the new configuration items in the yarn-site.xml and capacity-scheduler.xml files on the server1 node, or delete them. For details about the new configuration items, see Installing OmniScheduler.
- Synchronize the two configuration items on the server1 node to the other nodes.
- Restart the Yarn cluster.
${HADOOP_HOME}/sbin/stop-yarn.sh ${HADOOP_HOME}/sbin/start-yarn.sh
Parent topic: Maintaining the Feature