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

Preparing the Development Environment

Table 1 describes the development and running environment required for secondary development.

Table 1 Environment

Preparation Item

Description

OS

  • Development environment: Windows 7 or later versions
  • Running environment: Windows or Linux

If the program needs local debugging, the running environment must be able to communicate with the cluster service plane.

JDK

Basic configuration of the development and running environment. The version requirements are as follows:

If you are using the MRS server and client, only built-in OpenJDK 1.8.0_272 is supported. Other JDKs are not allowed.

If the JAR packages of the SDK classes that need to be referenced by the customer applications run in the application process, the JDK requirements are as follows:

  • x86 client: Oracle JDK 1.8; IBM JDK 1.8.5.11.
  • TaiShan client: OpenJDK 1.8.0_272
NOTE:

For security purposes, the server supports only TLS V1.2 or later.

However, IBM JDK supports only TLS V1.0 by default. If you are using an IBM JDK, set com.ibm.jsse2.overrideDefaultTLS to true to support TLS V1.0, V1.1, and V1.2. For details, see https://www.ibm.com/docs/en/sdk-java-technology/8?topic=customization-matching-behavior-sslcontextgetinstancetls-oracle#matchsslcontext_tls.

IntelliJ IDEA

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

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

JUnit plug-ins

Basic configuration for the development environment.

Maven

Basic configuration for the development environment. This tool is 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

Decompression tool for .zip and .rar packages

The 7-Zip 16.04 version is supported.