You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:31:02 UTC

[jira] [Commented] (HIVE-3626) RetryingHMSHandler should wrap JDOException inside MetaException

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

Hudson commented on HIVE-3626:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-3626 : RetryingHMSHandler should wrap JDOException inside MetaException (Bhushan Mandhani via Ashutosh Chauhan) (Revision 1409068)

     Result = ABORTED
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1409068
Files : 
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingHMSHandler.java

                
> RetryingHMSHandler should wrap JDOException inside MetaException
> ----------------------------------------------------------------
>
>                 Key: HIVE-3626
>                 URL: https://issues.apache.org/jira/browse/HIVE-3626
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Bhushan Mandhani
>            Assignee: Bhushan Mandhani
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3626.1.patch.txt
>
>
> RetryingHMSHandler catches and retries for JDOExceptions. If retry limit is exceeded, it throws the caught JDOException. Instead it should wrap this up in a MetaException. That way the error message and stack trace can be successfully communicated back to the Hive Client by the Thrift host and the client can show better error messages and log messages. Otherwise, everything appears as a TException with no further debugging info. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira