[
https://issues.apache.org/jira/browse/HIVE-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864204#comment-13864204
]
Hive QA commented on HIVE-6154:
-------------------------------
{color:green}Overall{color}: +1 all checks pass
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12621739/HIVE-6154.1.patch
{color:green}SUCCESS:{color} +1 4880 tests passed
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/820/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/820/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12621739
> 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
>
> Attachments: HIVE-6154.1.patch
>
>
> 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)