Preparing Development and Operating Environments
Table 1 describes the environment required for secondary development. You also need to prepare a Linux environment for verifying whether the application is running properly.
| Item | Description |
|---|---|
| Operating system (OS) | Windows OS. Windows 7 or later is recommended. |
| JDK installation | Basic configurations of the development environment. JDK 1.8 or later is required. |
| Eclipse installation and configuration | It is a tool used to develop HBase applications. |
| Installing Apache Maven | It is a tool used to compile the sample project. |
| Network | The client must be interconnected with the HBase server on the network. |
- Install Eclipse and JDK in the Windows development environment.
You have installed JDK1.8 or later. You have used Eclipse supporting JDK 1.8 or later, with the JUnit plug-in installed.
- 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.
- Prepare a Linux environment for testing application running status.
Preparing a Running and Commissioning Environment
- On the ECS management console, apply for a new ECS for application development, running, and commissioning.
- The security group of the ECS must be the same as that of the master node in an MRS cluster.
- The ECS and the MRS cluster must be in the same VPC.
- The ECS network interface controller (NIC) and the MRS cluster must be in the same network segment.
- Apply for an EIP, bind it to the IP address of a new ECS, and configure an inbound or outbound rule for the security group.
- Download the client program. For details, see Downloading an MRS Client.
- Log in to the node where the downloaded client is located, and then install the client.
- Run the following command to decompress the client package:
tar -xvf /opt/MRS_Services_Client.tar
- Run the following command to verify the installation file package:
- Run the following command to decompress the installation file package:
- Run the following command to install the client to a specified directory (absolute path), for example, /opt/client. The directory is automatically created.
cd /opt/MRS_Services_ClientConfig
sh install.sh /opt/client
Components client installation is complete.
- Run the following command to decompress the client package:
Last Article: Environment Preparation
Next Article: Preparing a Development User
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.