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 E1881D62F for ; Thu, 11 Oct 2012 23:11:03 +0000 (UTC) Received: (qmail 49163 invoked by uid 500); 11 Oct 2012 23:11:03 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 49131 invoked by uid 500); 11 Oct 2012 23:11:03 -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 49108 invoked by uid 99); 11 Oct 2012 23:11:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 23:11:03 +0000 Date: Thu, 11 Oct 2012 23:11:03 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1188930305.33752.1349997063602.JavaMail.jiratomcat@arcas> In-Reply-To: <1372486429.34581.1329180299948.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2946) HA: Put a cap on the number of completed edits files retained by the NN 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-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-2946: --------------------------------- Attachment: HDFS-2946.patch Thanks a lot for the review, Eli. Here's an updated patch which should address your feedback. I also changed the assert to instead throw an IOE, because I think that this error is important enough that it shouldn't require asserts be enabled to stop it. > HA: Put a cap on the number of completed edits files retained by the NN > ----------------------------------------------------------------------- > > Key: HDFS-2946 > URL: https://issues.apache.org/jira/browse/HDFS-2946 > Project: Hadoop HDFS > Issue Type: Improvement > Components: ha, name-node > Affects Versions: 2.0.1-alpha > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Attachments: HDFS-2946.patch, HDFS-2946.patch > > > HDFS-2794 added a minimum number of transactions to retain in edits files. Since many underlying file systems put a cap on the number of entries in a single directory, we should put a cap on the number of edits files which will be retained by the NN. -- 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