我要评分
获取效率
正确性
完整性
易理解

Uninstalling the Software

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

The example installation directories are /opt/omni-operator/conf and /opt/omni-operator/lib. The example HiveExtension directory is /opt/omni-operator/hive.

  1. Delete the conf and hive folders.
    1
    2
    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. Use vi to open the ~/.bashrc file and delete the LD_LIBRARY_PATH information of OmniOperator from the file to update environment variables.
    1. Open the ~/.bashrc file.
      1
      vi ~/.bashrc
      
    2. Press i to enter the insert mode. Delete the LD_LIBRARY_PATH information of OmniOperator.
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Update the environment variables.
      1
      source ~/.bashrc