Commissioning Applications on Windows
Scenario
After the program code is developed, you can compile the program in the Windows environment. If the network between the local and the cluster service plane is normal, you can perform the commissioning on the local host.
Procedure
- In the IntelliJ IDEA development environment on Windows, click Maven on the right of IDEA to import the dependency.
Figure 1 Importing the dependency
- (Optional) If the SSL authentication communication function of ZooKeeper is enabled for the interconnected cluster, add the JVM configuration
-Dzookeeper.clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty -Dzookeeper.client.secure=true.
- Right-click the JDBCExampleZK.java file and choose Run'JDBCExampleZK.main()' from the shortcut menu.
Figure 2 Running the program
You can view the output result on the console of the IDEA.Figure 3 Outputs
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