Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 12184 invoked from network); 15 Jan 2009 01:42:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2009 01:42:26 -0000 Received: (qmail 86752 invoked by uid 500); 15 Jan 2009 01:42:23 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 86732 invoked by uid 500); 15 Jan 2009 01:42:23 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 86721 invoked by uid 99); 15 Jan 2009 01:42:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 17:42:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 01:42:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A2843234C48B for ; Wed, 14 Jan 2009 17:41:59 -0800 (PST) Message-ID: <728405232.1231983719618.JavaMail.jira@brutus> Date: Wed, 14 Jan 2009 17:41:59 -0800 (PST) From: "Konstantin Shvachko (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4965) DFSClient should log instead of printing into std err. In-Reply-To: <813550727.1230706004565.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663972#action_12663972 ] Konstantin Shvachko commented on HADOOP-4965: --------------------------------------------- Only one unit test failure with this patch. TestMapReduceLocal fails as in HADOOP-4907. > DFSClient should log instead of printing into std err. > ------------------------------------------------------ > > Key: HADOOP-4965 > URL: https://issues.apache.org/jira/browse/HADOOP-4965 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.17.0 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Fix For: 0.20.0 > > Attachments: DFSClientLogging.patch, DFSClientLogging.patch, DFSClientLogging.patch > > > {{DFSClient.LeaseChecker.close()}} uses {{System.err.println()}} and {{Exception.printStackTrace()}} to output the exception.{{LOG.error()}} should be used instead. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.