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

Raghotham Murthy commented on HIVE-728:
---------------------------------------

Can you provide examples of generic error messages? We catch any exceptions 
thrown and provide the message provided by those exceptions in the 
HiveServerException.
{code}
throw new HiveServerException("Unable to get cluster status: " + e.toString());
{code}

Isnt that enough?

> Hive Server Exception Messages
> ------------------------------
>
>                 Key: HIVE-728
>                 URL: https://issues.apache.org/jira/browse/HIVE-728
>             Project: Hadoop Hive
>          Issue Type: Improvement
>            Reporter: Eric Hwang
>            Priority: Minor
>
> Hive Server should extract error messages from caught exceptions and 
> repackage them into HiveServerExceptions, rather than just throwing a 
> HiveServerException with a generic error message. This will allow Hive 
> Clients to display more informative error messages when dealing with the 
> server.

-- 
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