Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling the OmniOperator UDF Plugin

  1. Uninstall the OmniOperator UDF plugin.
    1. Select all nodes and click Configure Service.

    2. Select Custom and click Next.

    3. Select Command Execution and click Add a Task.

    4. Set parameters for tasks 1 and 2 and click Save.

      Table 1 Task 1 parameters

      Parameter

      Description

      Task Name

      Delete packages related to the OmniOperator UDF plugin.

      Task Description

      Delete 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

      Delete configurations related to the OmniOperator UDF plugin.

      Task Description

      Delete 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. In the upper right corner of the displayed page, click Export.

      The window for selecting a path for saving the template is displayed.

    2. Name the template OmniOperator UDF Plugin Uninstallation Workflow and click Save.

  3. Execute the service flow.

    Click Finish in the lower right corner and select Run Service. The procedure is complete when the execution is successful.