Maintaining the Feature
Follow the operating instructions when upgrading or uninstalling OmniAdvisor.
Upgrading OmniAdvisor
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 OmniAdvisor software installation package for the upgrade.
Uninstalling OmniAdvisor
Perform the following operations on the management node. This step is optional and is not mandatory for deploying OmniAdvisor.
- Delete the OmniAdvisor 2.0 software. The example installation directory is /opt/OmniAdvisor2.0.
rm -rf /opt/OmniAdvisor2.0
- Delete the Python environment. The example installation directory is /root/anaconda3.
rm -rf /root/anaconda3
- Restore the spark-submit script file to its original state.
mv $SPARK_HOME/bin/spark-submit.original.backup $SPARK_HOME/bin/spark-submit
- Delete data and uninstall the database. For details, see Uninstallation in the PostgreSQL Installation Guide.
Parent topic: OmniAdvisor 2.0