Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Installation Environment

Installing JDK

Install JDK before installing HiBench. The recommended version is BiSheng JDK 1.8.0_262.

  1. Download JDK.
    wget https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_jdk/bisheng-jdk-8u262-linux-aarch64.tar.gz
  2. Decompress the package.
    tar -zxf bisheng-jdk-8u262-linux-aarch64.tar.gz -C /usr/local
  3. Set environment variables.
    1. Open the configuration file.
      vim /etc/profile
    2. Press i to enter the insert mode and add the following content to the file:
      export JAVA_HOME=/usr/local/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.
    4. Make the environment variables take effect.
      source /etc/profile
  4. Check the JDK version.
    java -version

Installing Maven

  1. Download the installation package.
    wget http://apache.fayea.com/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip
  2. Decompress the package.
    unzip apache-maven-3.5.0-bin.zip -d /usr/local/
  3. Set environment variables.
    1. Set environment variables and add the Maven path to profile.
      vim /etc/profile
    2. Press i to enter the insert mode and add the following content to the file:
      # set maven environment
      export M3_HOME=/usr/local/apache-maven-3.5.0
      export PATH=$M3_HOME/bin:$PATH
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Make the environment variables take effect.
      source .bashrc
      source /etc/profile
  4. Check the Maven version.
    mvn -v

Installing HiBench

  1. Download the HiBench installation package.
    cd /
    wget https://github.com/Intel-bigdata/HiBench/archive/HiBench-7.0.zip
  2. Decompress the package.
    unzip HiBench-7.0.zip
  3. Compile HiBench.
    1. Go to the source code directory.
      cd /HiBench-HiBench-7.0
    2. Start compilation.
      mvn -Dscala=2.11 clean package