Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D20CB5009 for ; Tue, 10 May 2011 06:08:43 +0000 (UTC) Received: (qmail 90551 invoked by uid 500); 10 May 2011 06:08:43 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 90415 invoked by uid 500); 10 May 2011 06:08:43 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 90399 invoked by uid 99); 10 May 2011 06:08:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 06:08:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 06:08:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2074AC92AD for ; Tue, 10 May 2011 06:08:03 +0000 (UTC) Date: Tue, 10 May 2011 06:08:03 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1431676288.34007.1305007683129.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <104942528.33447.1304980983105.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HDFS-1906) Remove logging exception stack trace when one of the datanode targets to read from is not reachable 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-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas resolved HDFS-1906. ----------------------------------- Resolution: Fixed I committed the patch. > Remove logging exception stack trace when one of the datanode targets to read from is not reachable > --------------------------------------------------------------------------------------------------- > > Key: HDFS-1906 > URL: https://issues.apache.org/jira/browse/HDFS-1906 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs client > Affects Versions: 0.20.203.1 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Priority: Minor > Fix For: 0.23.0 > > Attachments: HDFS-1906.2.patch, HDFS-1906.patch > > > When client fails to connect to one of the datanodes from the list of block locations returned, exception stack trace is printed in the client log. This is an expected failure scenario that is handled at the client, by going to the next location. Printing entire stack trace is unnecessary and just printing the exception message should be sufficient. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira