Updated on 2023-08-31 GMT+08:00

Preparing for Development Environment

Table 1 describes the environment required for secondary development.

Table 1 Development environment

Item

Description

OS

  • Development environment:Windows OS. Windows 7 or later is supported.
  • Operating environment: Windows OS or Linux OS.

    If the program needs to be commissioned locally, the running environment must be able to communicate with the cluster service plane network.

JDK installation

Basic configuration for the development and operating environment. The version requirements are as follows:

The server and client support only built-in OpenJDK, version: 1.8.0_272, and therefore a JDK replacement is not allowed.

Customers' applications that need to reference the JAR packages of SDK to run in the application processes support Oracle JDK, IBM JDK, and OpenJDK.
  • For x86 nodes that run clients, the following JDKs can be used:
    • Oracle JDK versions: 1.8
    • Supported IBM JDK versions: 1.8.5.11
  • For nodes that run TaiShan and clients, the following JDK can be used:
    • OpenJDK: 1.8.0_272
NOTE:

The server supports only TLS V1.2 or later to ensure security.

By default, IBM JDK supports only TLS V1.0. If IBM JDK is used, setting com.ibm.jsse2.overrideDefaultTLS to true enables TLS V1.0, V1.1, and V1.2. For details, see https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/matchsslcontext_tls.html#matchsslcontext_tls.

IntelliJ IDEA installation and configuration

Tool used for developing HBase applications. The version must be 2019.1 or other compatible version.

NOTE:
  • If the IBM JDK is used, ensure that the JDK configured in IntelliJ IDEA is the IBM JDK.
  • If the Oracle JDK is used, ensure that the JDK configured in IntelliJ IDEA is the Oracle JDK.
  • If the Open JDK is used, ensure that the JDK configured in IntelliJ IDEA is the Open JDK.
  • Do not use the same workspace and the sample project in the same path for different IntelliJ IDEA programs.

JUnit plug-in installation

Basic configuration for the development environment

Installation of Maven

Basic configurations of the development environment. It can be used for project management throughout the lifecycle of software development.

Huawei provides an open-source mirror site, Huawei Mirrors. You can download the supportive JAR packages of the sample projects from this site. You can download the rest open-source JAR packages from the Maven central repository or other user-defined repositories. For details, see Configuring Huawei Open-Source Mirrors.

7-zip

Used to decompress .zip and .rar packages.

7-Zip 16.04 is supported.