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 |
OpenJDK 1.8 |
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. For Spark 2.3.2 and Spark 2.4.6, the recommended Scala version is 2.11.8. |
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.
After obtaining the BoostKit-ml_2.2.0.zip software package, verify that it is consistent with that provided on the website.
- Obtain the digital certificate and software.
- Obtain the verification tool and method from the following link:
https://support.huawei.com/enterprise/en/tool/pgp-verify-TL1000000054
- Verify the software package integrity by following the procedure described in the OpenPGP Signature Verification Guide obtained from the URL.
Cluster Environment
Item |
Requirement |
|---|---|
OS |
openEuler-20.03-LTS-SP1 |
JDK |
BiSheng JDK 1.8.0_262 |
ZooKeeper |
3.4.9 |
Hadoop |
3.1.1 |
Spark |
Apache Spark 2.3.2, 2.4.5, 2.4.6, or 3.1.1 |
The Kunpeng algorithm library is compatible with Apache Spark 2.3.2, 2.4.5, 2.4.6, and 3.1.1. Other platforms are not verified. For security purposes, you are advised to use a later version.