[
https://issues.apache.org/jira/browse/HIVE-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864858#comment-13864858
]
Hive QA commented on HIVE-6154:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12621852/HIVE-6154.2.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4903 tests executed
*Failed tests:*
{noformat}
org.apache.hcatalog.hbase.snapshot.lock.TestWriteLock.testRun
{noformat}
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/822/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/822/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12621852
> 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, HIVE-6154.2.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)