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

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

  1. 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/
    
  2. Configure Java environment variables.
    1. Open the /etc/profile file.
      1
      vi /etc/profile
      
    2. 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
      
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Make the environment variables take effect.
    1
    source /etc/profile
    

Installing HiBench

For details, see Compiling HiBench.