hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-5245) shouldRetry() in WebHDFSFileSystem generates excessive warnings
Date Thu, 26 Sep 2013 06:12:04 GMT

     [ 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

Mime
View raw message