Updated on 2022-09-30 GMT+08:00

Preparing Development and Operating Environment

Preparing Development Environment

Table 1 describes the local environment required for application development.

Table 1 Development environment

Item

Description

OS

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

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

JDK installation

Basic configurations of the development and operating environments. The version requirements are as follows:

  • The server and client of an MRS cluster support only built-in Oracle JDK 1.8, which cannot be replaced.
  • If users' applications need to reference the JAR files of the SDK class in the user application processes, Oracle JDK and IBM JDK are supported.
    • Oracle JDK versions: 1.7 and 1.8
    • IBM JDK versions: 1.7.8.10, 1.7.9.40, and 1.8.3.0

IntelliJ IDEA installation and configuration

Basic configuration of the development environment. The version must be 2019.1 or other compatible versions.

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

Maven installation

Basic configuration of the development environment for project management throughout the lifecycle of software development.

7-zip

This tool is used to decompress *.zip and *.rar packages. 7-zip 16.04 is supported.

Preparing Operating Environment

During application development, prepare the code running and commissioning environment to verify that the application is running properly.

  • If the local Windows development environment can communicate with the cluster service plane network, configure the network connection, and commission the program in Windows.
  • If you use the Linux environment for commissioning, prepare the Linux node where the cluster client is to be installed and obtain related configuration files.

    For details about how to use a client on the Master or Core nodes inside a cluster, see Installing a Client. For details about how to use a client outside a cluster, see Installing a Client.