Uninstalling the OmniOperator UDF Plugin
- Uninstall the OmniOperator UDF plugin.
- Select all nodes and click Configure Service.

- Select Custom and click Next.

- Select Command Execution and click Add a Task.

- 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;

- Select all nodes and click Configure Service.
- Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
- In the upper right corner of the displayed page, click Export.
The window for selecting a path for saving the template is displayed.

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

- In the upper right corner of the displayed page, click Export.
- Execute the service flow.
Click Finish in the lower right corner and select Run Service. The procedure is complete when the execution is successful.
