Help Center/
MapReduce Service/
User Guide (Paris Region)/
Troubleshooting/
Using Spark/
JDBCServer Connection Failure
Updated on 2024-10-11 GMT+08:00
JDBCServer Connection Failure
Symptom
- The ha-cluster cannot be identified (unknowHost or port required).
- Failed to connect to JDBCServer.
Cause Analysis
- Symptom 1: The spark-beeline command is used to connect to JDBCServer. JDBCServer in versions earlier than MRS_3.0 adopts HA mode. Therefore, a specific URL and the JAR package provided by MRS Spark is required to connect to JDBCServer.
- Symptom 2: The JDBCServer service is not running properly or port listening is abnormal.
Procedure
- Symptom 1: Use a specific URL and the JAR package provided by MRS Spark to connect to JDBCServer.
- Symptom 2: Check that the JDBCServer service is running properly and port listening is normal, and try again.
Parent topic: Using Spark
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