Configuring the Environment
Deploying a Hive Cluster
For details, see Hive Deployment Guide.
For JDK installation, replace OpenJDK in the reference deployment guide with the BiSheng JDK. For details, see Installing BiSheng JDK.
Installing BiSheng JDK
- Download and decompress the installation package to a directory (for example, /opt/tools/installed/).
1 2 3 4
wget https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_jdk/bisheng-jdk-8u262-linux-aarch64.tar.gz tar -zxf bisheng-jdk-8u262-linux-aarch64.tar.gz mkdir -p /opt/tools/installed/ mv bisheng-jdk1.8.0_262 /opt/tools/installed/
- Configure Java environment variables.
- Open the /etc/profile file.
1vi /etc/profile - Press i to enter the insert mode and add the following content to the end of the file:
1 2
export JAVA_HOME=/opt/tools/installed/bisheng-jdk1.8.0_262 export PATH=$JAVA_HOME/bin:$PATH
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /etc/profile file.
- Make the environment variables take effect.
1source /etc/profile
Parent topic: BiSheng JDK Acceleration Hive Component