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 EEC816C75 for ; Mon, 4 Jul 2011 22:45:45 +0000 (UTC) Received: (qmail 38989 invoked by uid 500); 4 Jul 2011 22:45:45 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 38933 invoked by uid 500); 4 Jul 2011 22:45:45 -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 38922 invoked by uid 99); 4 Jul 2011 22:45:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 22:45:45 +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; Mon, 04 Jul 2011 22:45:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7792E412C0 for ; Mon, 4 Jul 2011 22:45:21 +0000 (UTC) Date: Mon, 4 Jul 2011 22:45:21 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1718321870.2635.1309819521486.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1410649776.367.1309645221900.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2123) 1073: Checkpoint interval should be based on txn count, not size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-2123: ------------------------------ Attachment: hdfs-2123.txt New patch issues a warning like this: 11/07/04 15:42:18 WARN namenode.SecondaryNameNode: Configuration key dfs.namenode.checkpoint.size is deprecated! Ignoring... Instead please specify a value for dfs.namenode.checkpoint.txns I will check this into the branch based on dhruba's earlier +1. If there's any further review, let me know and I'll address it. > 1073: Checkpoint interval should be based on txn count, not size > ---------------------------------------------------------------- > > Key: HDFS-2123 > URL: https://issues.apache.org/jira/browse/HDFS-2123 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: Edit log branch (HDFS-1073) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: Edit log branch (HDFS-1073) > > Attachments: hdfs-2123.txt, hdfs-2123.txt > > > Currently, the administrator can configure the secondary namenode to checkpoint either every N seconds, or every N bytes worth of edit log. It would make more sense to get rid of the size-based interval and instead allow the administrator to specify checkpoints every N transactions. This also simplifies the code a little bit. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira