Configuring and Importing a Sample Project
Scenario
The client installation program directory contains a HetuEngine development sample project. You can start the sample project learning by importing the project. This document uses IntelliJ IDEA 2020.1.3 (Community Edition) as an example.
Prerequisites
Ensure that the difference between the local PC time and the MRS cluster time is less than 5 minutes. If the time difference cannot be determined, contact the system administrator. You can view the time of the MRS cluster in the upper-right corner on the FusionInsight Manager page.
Procedure
- Obtain the sample project folder hetu-examples\hetu-examples-security in the src directory where the sample code is decompressed. For details, see Obtaining the MRS Application Development Sample Project.
- In the application development environment, import the sample project to the IntelliJ IDEA development environment.
- Open IntelliJ IDEA and choose File > New > General > Project from Existing Sources > Select File or Directory to Import to go to the Browse Folder dialog box is displayed.
- Select the sample project folder, choose Import project from external model > Maven during import, and click Next and then Finish.
The sample code is a Maven project. You can adjust the project configuration based on the site requirements.
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