alibaba / alibaba/druid

建立hive-jdbc连接池hiveserver重启后,导致连接对象不可用如何解决?

Open
#3,976 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.