Preparations
Before querying the OmniShuffle and dynamic library versions, check whether the OCK_HOME environment variable exists in the system and whether LD_LIBRARY_PATH has been configured.
Run the echo $OCK_HOME command to check whether the OCK_HOME environment variable exists. If it does not exist, add the corresponding OCK installation directory. The default installation directory is /home/ockadmin/opt/ock. After confirming the OCK_HOME environment variable, perform the following operation to set LD_LIBRARY_PATH:
export LD_LIBRARY_PATH="${OCK_HOME}/ucache/${OCK_VERSION}/${OCK_BINARY_TYPE}/lib/common:${OCK_HOME}/ucache/${OCK_VERSION}/${OCK_BINARY_TYPE}/lib/common/openssl:${OCK_HOME}/ucache/${OCK_VERSION}/${OCK_BINARY_TYPE}/lib/mf:${OCK_HOME}/ucache/${OCK_VERSION}/${OCK_BINARY_TYPE}/lib/datakit:${LD_LIBRARY_PATH}"
- OCK_HOME: tool installation directory.
- OCK_VERSION: OCK tool version.
- OCK_BINARY_TYPE: type of the OCK executable file.
Parent topic: Querying the OmniShuffle and Dynamic Library Versions