建立hive-jdbc连接池hiveserver重启后,导致连接对象不可用如何解决?
Open
- Dominant language
- Java
- Stars
- 28.2k
- Forks
- 8.6k
- PR merge metrics
- No merged PRs in 30d
Description
因为hive线上环境还不稳定,会遇到重启hiveserver的情况,这样应用里的hive-jdbc连接对象就不可用的,druid也没有去重建这个对象,只有重启才能解决,这个该如何解决?
Contributor guide
Research direction
No file, test, or entry point is named. Start by reproducing a HiveServer restart with a Druid hive-jdbc pool and trace how failed connections are detected and replaced. Done means the application can obtain a usable connection after the server restarts without restarting the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100