hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <>
Subject [jira] [Commented] (HIVE-4467) HiveConnection does not handle failures correctly
Date Wed, 01 May 2013 23:04:15 GMT


Carl Steinbach commented on HIVE-4467:

[~cdrome] I understand that. I was trying to answer the question Thiruvel raised in his first
comment. In short, I don't think any functions return SUCCESS_WITH_INFO_STATUS right now,
but in the future we probably will want to do this, and it's a lot easier to support it at
the outset than to add it in later.
> HiveConnection does not handle failures correctly
> -------------------------------------------------
>                 Key: HIVE-4467
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, JDBC
>    Affects Versions: 0.11.0, 0.12.0
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>             Fix For: 0.11.0, 0.12.0
>         Attachments: HIVE-4467.patch
> HiveConnection uses Utils.verifySuccess* routines to check if there is any error from
the server side. This is not handled well. In Utils.verifySuccess() when withInfo is 'false',
the condition evaluates to 'false' and no SQLexception is thrown even though there could be
a problem on the server.

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:

View raw message