hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-12605) Implement JDBC Connection.isValid
Date Mon, 07 Dec 2015 17:27:11 GMT


Thejas M Nair commented on HIVE-12605:

The javadoc for the JDBC api says - "The driver shall submit a query on the connection or
use some other mechanism that positively verifies the connection is still valid when this
method is called. ".

We could use something lightweight 'read' operation to validate the connection. Maybe a 'set
<config name>' , where it just prints the value of the config name.

> Implement JDBC Connection.isValid
> ---------------------------------
>                 Key: HIVE-12605
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>            Reporter: Thejas M Nair
>              Labels: newbie, trivial
> implementation
in Hive JDBC driver throws "SQLException("Method not supported")".
> That is a method often used by connection pooling libraries.
> Thanks to [~yeeza] for raising this issue.

This message was sent by Atlassian JIRA

View raw message