Development Process
Figure 1 and Table 1 describe the phases in the development process.
Step |
Description |
Reference |
---|---|---|
Prepare the development environment. |
Before you start development, prepare the development environment. You are advised to use the Java language and IntelliJ IDEA tool to develop applications, and complete initial configurations of JDK and Maven. |
|
Prepare the configuration files for connecting to the cluster. |
During the development or a test run of the program, you need to use cluster configuration files to connect to an MRS cluster. The configuration files usually contain the cluster component information file and user files used for security authentication. You can obtain the required information from the created MRS cluster. Nodes used for program debugging or running must be able to communicate with the nodes within the MRS cluster, and the hosts domain name must be configured. |
Preparing the Configuration Files for Connecting to the Cluster |
Configure and import sample projects. |
Hive provides a range of sample projects for different scenarios. You can obtain a sample project and import it to the local development environment. |
|
Configure security authentication. |
If you are using JDBC to access an MRS cluster with Kerberos authentication enabled, security authentication is required. |
|
Write program code for a service scenario. |
Develop the program based on service requirements and call component APIs to implement required functions. |
|
Compile and run the program. |
Guidance is provided for you to submit and run a developed program and then view the result. |
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