You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2014/01/07 02:09:50 UTC
[jira] [Created] (HIVE-6154) HiveServer2 returns a detailed error
message to the client only when the underlying exception is a
HiveSQLException
Vaibhav Gumashta created HIVE-6154:
--------------------------------------
Summary: HiveServer2 returns a detailed error message to the client only when the underlying exception is a HiveSQLException
Key: HIVE-6154
URL: https://issues.apache.org/jira/browse/HIVE-6154
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 0.13.0
Reporter: Vaibhav Gumashta
Assignee: Vaibhav Gumashta
Fix For: 0.13.0
In ThriftCLIService, if any of the API calls error out, the server API tries to send back a detailed error response by trying to extract information from the caught exception e like - HiveSQLException.toTStatus(e). However, within the HiveSQLException#toTStatus method, the detailed error info (sqlState, errorCode, errorMessage) is sent back only if the caught exception is an instance of HiveSQLException, otherwise only the error status is set. For other exceptions as well, we can set the error message in the response in addition to setting the error status to help in debugging.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)