Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling the OmniOperator Plugin Using SmartKit

  1. Uninstall the OmniOperator UDF plugin.
    Select all nodes and click Config Service.Select Command Execution, set task parameters according to Table 1 to Table 2, and click Save.
    Table 1 Task 1 parameters

    Parameter

    Description

    Task Name

    Deleting packages related to the OmniOperator UDF plugin

    Task Description

    Deleting packages related to the OmniOperator UDF plugin

    Run Directory

    /opt/omni-operator

    Run Command

    rm -rf /opt/omni-operator/hive-udf;

    Table 2 Task 2 parameters

    Parameter

    Description

    Task Name

    Deleting configurations related to the OmniOperator UDF plugin

    Task Description

    Deleting configurations related to the OmniOperator UDF plugin

    Run Directory

    /opt/omni-operator

    Run Command

    sed -i '/${JAVA_HOME}\/jre\/lib\/aarch64\/server/d' ~/.bashrc;source ~/.bashrc;

    sed -i '/enableBatchExprEvaluate/d' /opt/omni-operator/conf/omni.conf;

    sed -i '/hiveUdfPropertyFilePath/d' /opt/omni-operator/conf/omni.conf;

    sed -i '/hiveUdfDir/d' /opt/omni-operator/conf/omni.conf;

  2. Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
    1. Click Export in the upper right corner.

      The Select the path where the template is saved window is displayed.

    2. Name the template OmniOperator UDF Plugin Uninstallation Workflow and click Save.
  3. Execute the service flow.