(Optional) Uninstalling the UDF Plugin
Perform the following steps only on the management node.
If you do not need to use the OmniOperator software after uninstalling the UDF plugin, uninstall OmniOperator by following instructions in Uninstalling OmniOperator.
- Delete the /opt/omni-operator/hive-udf directory on the management and compute nodes.
1 2
ls /opt/omni-operator rm -rf /opt/omni-operator/hive-udf
- Update the /opt/omni-operator/conf/omni.conf configuration file.
- Open the file.
1vi /opt/omni-operator/conf/omni.conf - Press i to enter the insert mode and update the UDF configuration.
1 2 3 4 5 6 7
# <----UDF properties----> # false indicates expression row-by-row processing and true indicates expression bath processing. #enableBatchExprEvaluate=false # UDF trustlist file path #hiveUdfPropertyFilePath=./hive-udf/udf.properties # Hive UDF JAR file directory #hiveUdfDir=./hive-udf/udf
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the file.
- Optional: When the OmniOperator UDF plugin is used on Spark, perform 2 again.
- Update the environment variable.
- Open the ~/.bashrc file.
1vi ~/.bashrc - Press i to enter the insert mode and delete ${JAVA_HOME}/jre/lib/aarch64/server from LD_LIBRARY_PATH to update environment variables.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the updated environment variable take effect.
1source ~/.bashrc
- Open the ~/.bashrc file.
Parent topic: Maintaining the Feature