You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/09/26 08:12:04 UTC
[jira] [Resolved] (HDFS-5245) shouldRetry() in WebHDFSFileSystem
generates excessive warnings
[ https://issues.apache.org/jira/browse/HDFS-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao resolved HDFS-5245.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Hadoop Flags: Reviewed
Thanks [~wheat9]! I've committed this to branch-1.
> shouldRetry() in WebHDFSFileSystem generates excessive warnings
> ---------------------------------------------------------------
>
> Key: HDFS-5245
> URL: https://issues.apache.org/jira/browse/HDFS-5245
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 1.2.0, 1.2.1
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Fix For: 1.3.0
>
> Attachments: HDFS-5245.000.patch, HDFS-5245.001.patch
>
>
> In branch-1 shouldRetry() in WebHDFSFileSystem always prints out the original exception when the retry policy decides not to retry.
> While informative, this behavior quickly fills out the log.
> The problem does not exist in branch-2 since shouldRetry() returns a enum, so that the upper layer can decide whether to print out the exception.
> In branch-1 the code should silent this warnings.
--
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