Rate This Document
Findability
Accuracy
Completeness
Readability

Maintaining the Feature

Follow the operating instructions when upgrading or uninstalling OmniScheduler.

Upgrading OmniScheduler

The upgrade cannot be performed using the tool. Therefore, you need to download the installation package and reinstall the software.

Contact Huawei technical support to download the OmniScheduler Yarn software installation package for the upgrade.

Uninstalling OmniScheduler

These steps are not mandatory for deploying OmniScheduler.

  1. 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 *
  2. Uninstall LoadsMetric.

    Stop the LoadsMetricApplication process and run the uninstallation script. After the uninstallation is complete, delete all content from the /home/hadoop directory.

    cd /home/hadoop/loadsmetric-software
    sh loadsmetric_deploy.sh stop
    sh loadsmetric_deploy.sh uninstall
    cd ..
    rm -rf *
  3. Uninstall OmniScheduler.
    1. 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
    2. 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.
    3. Synchronize the two configuration items on the server1 node to the other nodes.
    4. Restart the Yarn cluster for the configurations to take effect.
      ${HADOOP_HOME}/sbin/stop-yarn.sh
      ${HADOOP_HOME}/sbin/start-yarn.sh