[
https://issues.apache.org/jira/browse/HIVE-5039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-5039:
------------------------------
Attachment: HIVE-5039.D12183.1.patch
azrael requested code review of "HIVE-5039 [jira] Support autoReconnect at
JDBC".
Reviewers: JIRA
HIVE-5039 : Support autoReconnect at JDBC
If hiveServer2 is shutdown, connection is broken. Let the connection can
reconnect automatically after hiveServer2 re-started.
jdbc:hive2://localhost:10000/default?autoReconnect=true
TEST PLAN
unit test and manual test
REVISION DETAIL
https://reviews.facebook.net/D12183
AFFECTED FILES
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java
jdbc/src/java/org/apache/hive/jdbc/HivePreparedStatement.java
jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2Connection.java
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/29079/
To: JIRA, azrael
> Support autoReconnect at JDBC
> ------------------------------
>
> Key: HIVE-5039
> URL: https://issues.apache.org/jira/browse/HIVE-5039
> Project: Hive
> Issue Type: New Feature
> Components: JDBC
> Affects Versions: 0.11.0
> Reporter: Azrael Park
> Assignee: Azrael Park
> Priority: Trivial
> Attachments: HIVE-5039.D12183.1.patch, HIVE-5039.patch
>
>
> If hiveServer2 is shutdown, connection is broken. Let the connection can
> reconnect automatically after hiveServer2 re-started.
> {noformat}
> jdbc:hive2://localhost:10000/default?autoReconnect=true
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira