Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CA5F1069C for ; Thu, 26 Sep 2013 06:12:36 +0000 (UTC) Received: (qmail 56180 invoked by uid 500); 26 Sep 2013 06:12:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 56126 invoked by uid 500); 26 Sep 2013 06:12:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 56051 invoked by uid 99); 26 Sep 2013 06:12:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 06:12:04 +0000 Date: Thu, 26 Sep 2013 06:12:04 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5245) shouldRetry() in WebHDFSFileSystem generates excessive warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-5245: ---------------------------- Priority: Minor (was: Major) > 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 > Priority: Minor > 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