我要评分
获取效率
正确性
完整性
易理解

Preparations

Configure necessary environment variables to use help tool commands.

This script must be executed on the driver node.

Go to the directory where the binary file is stored.

1
cd $OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/bin

Run the echo $OCK_HOME command to check whether the OCK_HOME environment variable exists. If not, set it to the OmniShuffle installation directory (/home/ockadmin/opt/ock by default). 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}"