Updated on 2024-12-18 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. Therefore, a specific URL and the JAR package provided by MRS Spark are required to connect to JDBCServer.
- Symptom 2: The JDBCServer service is not running properly or port monitoring 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 monitoring is normal, and try again.
Parent topic: Using Spark
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.