You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2013/09/21 00:45:48 UTC

[jira] [Created] (HDFS-5245) Retry policies should return false rather than rethrow an exception in branch-1

Haohui Mai created HDFS-5245:
--------------------------------

             Summary: Retry policies should return false rather than rethrow an exception in branch-1
                 Key: HDFS-5245
                 URL: https://issues.apache.org/jira/browse/HDFS-5245
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Haohui Mai
            Assignee: Haohui Mai


A RetryPolicy inspects the exception generated when performing work and decides to try the work again.

In branch-1 a RetryPolicy either returns false or rethrow the exception in the shouldRetry() function to indicate it decides not to retry. However, rethrowing an exception confuses the upstream code and causes it to print out excessive warning messages.

This bug is fixed in trunk and branch-2.



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