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

Development Environment Introduction

Table 1 describes the local 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 7 or later version is recommended.
  • 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:

For security purpose in the HCatalog development environment, the MRS server supports only TLS 1.1 and TLS 1.2 encryption protocols. IBM JDK supports only TLS 1.0 by default. If you use IBM JDK, set com.ibm.jsse2.overrideDefaultTLS to true. After the parameter setting, TLS1.0/1.1/1.2 can be supported at the same time.

For details, visit 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.

Eclipse installation and configuration

It is a tool used to develop Hive applications. The version requirements are as follows:

  • JDK 1.7 and Eclipse 3.7.1 or later are supported.

    JDK 1.8 and Eclipse 4.3.2 or later are supported.

Description

If you use IBM JDK, ensure that the JDK configured in Eclipse is IBM JDK.

If you use Oracle JDK, ensure that the JDK configured in Eclipse is Oracle JDK.

Do not use the same workspace and the sample project in the same path for different Eclipse programs.

Network

The client must be interconnected with the Hive server on the network.