Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling OmniOperator

Perform the following steps on the management node only. Ensure that no task is being executed on the OmniOperator upper-layer engine.

Assume that the SparkExtension directories are /opt/omni-operator/conf and /opt/omni-operator/lib, and the HiveExtension directory is /opt/omni-operator/hive.

  1. Delete the conf and hive folders.
    1
    2
    3
    ls /opt/omni-operator
    rm -rf /opt/omni-operator/conf
    rm -rf /opt/omni-operator/hive
    
  2. Go to the /opt/omni-operator/lib directory and delete the dependency SO files and OmniOperator files.
    1
    2
    3
    cd /opt/omni-operator/lib
    rm -rf libjemalloc.so.2 libLLVM-15.so
    rm -rf include libboostkit-omniop* boostkit-omniop* libsecurec.so
    
  3. Optional: When using OmniOperator on Spark, delete the OmniOperator installation package of HDFS.
    1
    hdfs dfs -rm -f /user/root/omni-operator.tar.gz
    
  4. Update the environment variable.
    1. Open the ~/.bashrc file.
      1
      vi ~/.bashrc
      
    2. Press i to enter the insert mode. Delete the OmniOperator path configuration from LD_LIBRARY_PATH.
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Make the updated environment variable take effect.
      1
      source ~/.bashrc