Setting Up the Development Environment
Client Environment
Table 1 describes the client environment requirements.
Item |
Version |
Remarks |
|---|---|---|
OS |
Windows 7 or later |
Prepare it in advance. |
Installing JDK |
Install BiSheng JDK 1.8.0_342. |
See Creating a Project. |
Installing and configuring the development tool |
Eclipse or IntelliJ IDEA is recommended. This document uses IntelliJ IDEA (2018.2) as an example. |
Prepare it in advance. |
Installing Scala |
Complete the basic configuration for the Scala environment. Scala 2.12.11 is recommended for Spark 3.3.1. |
See Creating a Project. |
Installing Maven |
Compile the project package. Recommended version: 3.6.3. |
See Creating a Project. |
Obtaining the Software
Table 2 describes how to obtain the library package of a machine learning algorithm.
Verifying Software Package Integrity
After downloading a software package from the Kunpeng community, verify the software package to ensure that it is consistent with the original one on the website.
Verify a software package as follows:
- Obtain the digital certificate and software.
- Obtain the verification tool and method from the following link:
- Verify the package integrity by following the procedure described in the OpenPGP Signature Verification Guide obtained from the URL.
Cluster Environment
Item |
Node Type |
Requirement |
|---|---|---|
OS |
All nodes |
openEuler 22.03 LTS SP1 |
JDK |
All nodes |
BiSheng JDK 1.8.0_342 |
ZooKeeper |
Compute node |
3.6.2 |
Hadoop |
All nodes |
3.2.0 |
Spark |
All nodes |
Spark 3.3.1 |
The Kunpeng algorithm library is compatible with Spark 3.3.1. Other platforms are not verified. For security purposes, you are advised to use a later version.