[ 
https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758441#action_12758441
 ] 

Bill Graham commented on HIVE-795:
----------------------------------

Thanks Namit. Re these files, yes I generated them using 'ant thriftif':

gen-py/hive_service/ttypes.py
gen-php/hive_service_types.php

Taking another look at HIVE-795.2.patch though I see that the files that thrift 
generated each contained a second definition of HiveServerException with the 
new attributes, instead generating a single HiveServerException with the the 
old and new attributes. I'll keep an eye out for this in the future.

FYI, here's the version of thrift that I used:

$ thrift -version
Thrift version 20080411-r790732M  

> Return better error messaging from HiveServer 
> ----------------------------------------------
>
>                 Key: HIVE-795
>                 URL: https://issues.apache.org/jira/browse/HIVE-795
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>             Fix For: 0.5.0
>
>         Attachments: HIVE-795.1.patch, HIVE-795.2.patch, hive.795.3.patch
>
>
> If an exception is thrown on the Hive server (i.e., when an invalid query is 
> passed), the Hive server throws a HiveServerExcpeption to the client with a 
> message like "Query returned non-zero code: 10". A more informative 
> description of the cause of the error should be returned.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to