Help Center/
MapReduce Service/
Developer Guide (Normal_Earlier Than 3.x)/
OpenTSDB Development Guide/
Preparing an OpenTSDB Application Development Environment/
Preparing an OpenTSDB Application Development Environment
Updated on 2024-08-16 GMT+08:00
Preparing an OpenTSDB Application Development Environment
- Install Eclipse and JDK in the Windows development environment.
Install JDK 1.8 or later. Use 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 an environment for testing application running status.
Preparing a Running and Commissioning Environment
- On the ECS management console, apply for a new ECS for application 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 NIC and the MRS cluster must be in the same network segment.
- Apply for an EIP, bind it to a new ECS, and configure an inbound or outbound rule for the security group.
- Download a client program.
- Log in to MRS Manager.
- Choose Services > Download Client to download the complete client to the remote host, that is, download the client program to the newly applied ECS.
- 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:
sha256sum -c /opt/MRS_Services_ClientConfig.tar.sha256
MRS_Services_ClientConfig.tar:OK
- 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:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot