hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2746) Metastore client doesn't log properly in case of connection failure to server
Date Wed, 25 Jan 2012 01:22:43 GMT

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

Phabricator commented on HIVE-2746:
-----------------------------------

ashutoshc has commented on the revision "HIVE-2746 [jira] Metastore client doesn't log properly
in case of connection failure to server".

INLINE COMMENTS
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:292 No, in
the catch block above exception is only logged, not thrown, because thats within a for loop
of retries. Connection may succeed in a retry. We can't throw exception there.

REVISION DETAIL
  https://reviews.facebook.net/D1395

                
> Metastore client doesn't log properly in case of connection failure to server
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-2746
>                 URL: https://issues.apache.org/jira/browse/HIVE-2746
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.8.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-2746.D1395.1.patch
>
>
> LOG.error(e.getStackTrace()) in current code prints memory location of StackTraceElement[]
instead of message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message