Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling the OmniOperator UDF Plugin Locally

The following operations must be performed on the management node and all compute nodes.

  1. Delete the /opt/omni-operator/hive-udf directory on the management and compute nodes.
    rm -rf /opt/omni-operator/hive-udf
  2. In the /opt/omni-operator/conf/omni.conf file, update the following content:
    1. Open /opt/omni-operator/conf/omni.conf.
      vim /opt/omni-operator/conf/omni.conf
    2. 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
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Use vim to open the ~/.bashrc file and delete UDF environment variables from LD_LIBRARY_PATH.
    1. Open the ~/.bashrc file.
      vim ~/.bashrc
    2. Press i to enter the insert mode and delete ${JAVA_HOME}/jre/lib/aarch64/server from LD_LIBRARY_PATH to update environment variables.
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Update the environment variables.
      source ~/.bashrc