[jira] Commented: (HIVE-728) Hive Server Exception Messages

2009-08-07 Thread Eric Hwang (JIRA)

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

Eric Hwang commented on HIVE-728:
-

Yes, you're right. I assumed they were generic error messages, but I guess I 
filed the JIRA a little too quickly. I was mostly referring to the error codes 
returned by the execute command which are not very informative to an end user. 
Is there some kind of table where these error codes may be converted to their 
real meanings?



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



[jira] Commented: (HIVE-728) Hive Server Exception Messages

2009-08-07 Thread Raghotham Murthy (JIRA)

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