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

Preparing Development and Operating Environments

Table 1 describes the environment required for application development. You also need to prepare a Linux environment for verifying whether the application is running properly.

Table 1 Development environment

Item

Description

OS

  • Development environment: Windows OS
  • Operating environment: Linux system

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
    NOTE:
    • If JDK 1.7 is used as the development environment, the running environment of Flink clusters can be JDK 1.7 or JDK 1.8.
    • If JDK 1.8 is used as the development environment, the running environment of Flink clusters must be JDK 1.8. If JDK 1.7 is used as the running environment, error of incorrect JDK version is reported.

IDEA installation and configuration

Tool used for developing Flink applications. The required version is 14.1.7.

Scala installation

Basic configuration for the Scala development environment. The required version is 2.11.12.

Scala plugin installation

Basic configuration for the Scala development environment. The required version is 1.5.4.

Preparing a development user

For details, see Preparing a Development User.

Installing a client

For details, see Installing a Client.