Configuring the Installation Environment
Installing JDK
Install JDK before installing HiBench. The recommended version is BiSheng JDK 1.8.0_262.
- Download JDK.
wget https://mirrors.huaweicloud.com/kunpeng/archive/compiler/bisheng_jdk/bisheng-jdk-8u262-linux-aarch64.tar.gz
- Decompress the package.
tar -zxf bisheng-jdk-8u262-linux-aarch64.tar.gz -C /usr/local
- Set environment variables.
- Open the configuration file.
vim /etc/profile
- 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
source /etc/profile
- Open the configuration file.
- Check the JDK version.
java -version

Installing Maven
- Download the installation package.
wget http://apache.fayea.com/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip
- Decompress the package.
unzip apache-maven-3.5.0-bin.zip -d /usr/local/
- Set environment variables.
- Set environment variables and add the Maven path to profile.
vim /etc/profile
- 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
source .bashrc source /etc/profile
- Set environment variables and add the Maven path to profile.
- Check the Maven version.
mvn -v

Installing HiBench
- Download the HiBench installation package.
cd / wget https://github.com/Intel-bigdata/HiBench/archive/HiBench-7.0.zip
- Decompress the package.
unzip HiBench-7.0.zip
- Compile HiBench.
- Go to the source code directory.
cd /HiBench-HiBench-7.0
- Start compilation.
mvn -Dscala=2.11 clean package
- Go to the source code directory.
Parent topic: Generating a Dataset Using HiBench