hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Drome (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-8414) HiveConnection.openSession should throw exception if session handle is null
Date Thu, 09 Oct 2014 07:39:33 GMT

     [ https://issues.apache.org/jira/browse/HIVE-8414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Drome updated HIVE-8414:
------------------------------
    Attachment: HIVE-8414-1.patch

Attached preliminary fix. Will add unittest to exercise.

> HiveConnection.openSession should throw exception if session handle is null
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-8414
>                 URL: https://issues.apache.org/jira/browse/HIVE-8414
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.14.0, 0.15.0
>            Reporter: Chris Drome
>            Assignee: Chris Drome
>            Priority: Minor
>         Attachments: HIVE-8414-1.patch
>
>
> HiveConnection should verify the session handle in openSession and throw a SQLException
if null.
> Ran into this problem by trying to send configs that change restricted params. Without
a valid session handle, all subsequent operation with the connection will fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message