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 C8A33D258 for ; Mon, 29 Oct 2012 18:48:12 +0000 (UTC) Received: (qmail 17821 invoked by uid 500); 29 Oct 2012 18:48:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 17785 invoked by uid 500); 29 Oct 2012 18:48:12 -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 17776 invoked by uid 99); 29 Oct 2012 18:48:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 18:48:12 +0000 Date: Mon, 29 Oct 2012 18:48:12 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <222552757.40229.1351536492597.JavaMail.jiratomcat@arcas> In-Reply-To: <458734953.35434.1351364472701.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (HDFS-4122) Cleanup HDFS logs and reduce the size of logged messages 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-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486224#comment-13486224 ] Suresh Srinivas edited comment on HDFS-4122 at 10/29/12 6:46 PM: ----------------------------------------------------------------- I do not feel marking things as incompatible, when no compatibility was promised, just to draw the attention is the right approach. But I do not feel too strongly about it. I can move it to incompatible section. BTW do we do this every time an old log or old logs change - say for typo, more complete information etc.? was (Author: sureshms): I feel marking things in as incompatible, when no compatibility was promised, just to draw attention is the right approach. But I do not feel too strongly about it. I can move it to incompatible section. BTW do we do this every time an old log or old logs change? > Cleanup HDFS logs and reduce the size of logged messages > -------------------------------------------------------- > > Key: HDFS-4122 > URL: https://issues.apache.org/jira/browse/HDFS-4122 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node, hdfs client, name-node > Affects Versions: 1.0.0, 2.0.0-alpha > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Fix For: 1.2.0, 3.0.0 > > Attachments: log.chatty.cleanup.branch1.patch, log.chatty.cleanup.branch1.patch, log.chatty.cleanup.branch1.patch, log.chatty.cleanup.trunk.patch, log.chatty.cleanup.trunk.patch, log.chatty.cleanup.trunk.patch > > > I have attached the patch that removes unnecessary information from the log such as "Namesystem." and prefixing file information with "file" and block information with "block" etc. > On a branch-1 log I saw it reduce the log size by ~10%. -- 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