[ https://issues.apache.org/jira/browse/HDFS-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haohui Mai updated HDFS-5245: ----------------------------- Attachment: (was: HDFS-5245.001.patch) > 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 > 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