hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13552) RetryInvocationHandler logs all remote exceptions
Date Fri, 26 Aug 2016 21:04:20 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15439846#comment-15439846

Jason Lowe commented on HADOOP-13552:

Looks like this was introduced in HADOOP-13146.  Normally logging then throwing the same exception
is an anti-pattern since it either logs when it shouldn't (as in this case) or it ends up
logging more than once when the ultimate handler of the exception fields it.

> RetryInvocationHandler logs all remote exceptions
> -------------------------------------------------
>                 Key: HADOOP-13552
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13552
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.8.0
>            Reporter: Jason Lowe
>            Priority: Blocker
> RetryInvocationHandler logs a warning for any exception that it does not retry.  There
are many exceptions that the client can automatically handle, like FileNotFoundException,
UnresolvedPathException, etc., so now every one of these generates a scary looking stack trace
as a warning then the program continues normally.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message