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 C72DB9B58 for ; Wed, 11 Jul 2012 05:11:36 +0000 (UTC) Received: (qmail 5782 invoked by uid 500); 11 Jul 2012 05:11:36 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 5740 invoked by uid 500); 11 Jul 2012 05:11:36 -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 5696 invoked by uid 99); 11 Jul 2012 05:11:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 05:11:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id D2ADE142822 for ; Wed, 11 Jul 2012 05:11:34 +0000 (UTC) Date: Wed, 11 Jul 2012 05:11:34 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1219564145.33725.1341983494864.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1788612461.20048.1341758136396.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HDFS-3611) NameNode prints unnecessary WARNs about edit log normally skipping a few bytes 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-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411243#comment-13411243 ] Hudson commented on HDFS-3611: ------------------------------ Integrated in Hadoop-Mapreduce-trunk-Commit #2464 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2464/]) HDFS-3611. NameNode prints unnecessary WARNs about edit log normally skipping a few bytes. Contributed by Colin Patrick McCabe. (harsh) (Revision 1360001) Result = FAILURE harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1360001 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EditLogFileInputStream.java > NameNode prints unnecessary WARNs about edit log normally skipping a few bytes > ------------------------------------------------------------------------------ > > Key: HDFS-3611 > URL: https://issues.apache.org/jira/browse/HDFS-3611 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 2.0.0-alpha > Reporter: Harsh J > Assignee: Colin Patrick McCabe > Priority: Trivial > Labels: newbie > Fix For: 2.0.1-alpha > > Attachments: HDFS-3611.001.patch, HDFS-3611.001.patch > > > The NameNode currently warns these form of lines at every startup, even if there's no trouble really. For instance, the below is from a NN startup that was only just freshly formatted. > {code} > 12/07/08 20:00:22 WARN namenode.EditLogInputStream: skipping 1048563 bytes at the end of edit log '/Users/harshchouraria/Work/installs/temp-space/tmp-default/dfs-cdh4/data/current/edits_0000000000000000003-0000000000000000003': reached txid 3 out of 3 > {code} > If this skipping is not really a cause for warning, we should not log it at a WARN level but at an INFO or even DEBUG one. Avoids users getting unnecessarily concerned. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira