Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 6133 invoked from network); 31 Dec 2008 08:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2008 08:31:21 -0000 Received: (qmail 94091 invoked by uid 500); 31 Dec 2008 08:31:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 94055 invoked by uid 500); 31 Dec 2008 08:31:11 -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 93936 invoked by uid 99); 31 Dec 2008 08:31:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 00:31:10 -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; Wed, 31 Dec 2008 08:31:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 488D3234C4A7 for ; Wed, 31 Dec 2008 00:30:44 -0800 (PST) Message-ID: <1820279539.1230712244295.JavaMail.jira@brutus> Date: Wed, 31 Dec 2008 00:30:44 -0800 (PST) From: "Suresh Srinivas (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=12660043#action_12660043 ] Suresh Srinivas commented on HADOOP-4965: ----------------------------------------- Previously the file name was printed. Should the file name be printed in the log? Otherwise +1 for the patch. > 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 > > > {{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.