Uninstalling the Operator Acceleration UDF Plugin (Locally)
The following operations must be performed on the management node and all compute nodes.
- Delete the /opt/omni-operator/hive-udf directory on the management and compute nodes.
rm -rf /opt/omni-operator/hive-udf
- In the /opt/omni-operator/conf/omni.conf file, update the following content:
- Open /opt/omni-operator/conf/omni.conf.
vim /opt/omni-operator/conf/omni.conf
- Press i to enter the insert mode and update the UDF configuration.
# <----UDF properties----> # false indicates expression row-by-row processing and true indicates expression bath processing. #enableBatchExprEvaluate=false # UDF trustlist file path #hiveUdfPropertyFilePath=/opt/omni-operator/hive-udf/udf.properties # Hive UDF JAR file directory #hiveUdfDir=/opt/omni-operator/hive-udf/udf
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open /opt/omni-operator/conf/omni.conf.
- Use vim to open the ~/.bashrc file and delete UDF environment variables from LD_LIBRARY_PATH.
- Open the ~/.bashrc file.
vim ~/.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.
- Update the environment variables.
source ~/.bashrc
- Open the ~/.bashrc file.
Parent topic: Uninstalling the UDF Plugin