Development Process
This document describes HBase application development based on the Java API.
For information about each phase in the development process, see Figure 1 and Table 1.
Phase |
Description |
Reference Document |
---|---|---|
Prepare the development environment. |
Before developing an application, you need to prepare the development environment. You are advised to use the Java language and IntelliJ IDEA tool for development. In addition, you need to complete the initial configuration of the JDK and Maven. |
|
Prepare the Configuration File for Connecting to the Cluster. |
During application development or running, you need to connect to the MRS cluster through cluster configuration files. Configuration files include cluster component information files. You can obtain related content from the created MRS cluster. Nodes used for program commissioning or running must be able to communicate with nodes in the MRS cluster and the hosts domain name must be configured. |
Preparing the Configuration Files for Connecting to the Cluster |
Configure and import the sample project. |
HBase provides a range of sample projects for different scenarios. You can obtain a sample project and import it to the local development environment. |
|
Write program code for a service scenario. |
Develop the program based on actual service scenarios and call component APIs to implement required functions. |
|
Compile and run the application. |
Compile and run the program. You can debug and run the program in the local Windows development environment, or compile the program into a JAR package and submit it to a Linux node. |
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot