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 15D354D48 for ; Thu, 7 Jul 2011 16:05:42 +0000 (UTC) Received: (qmail 28369 invoked by uid 500); 7 Jul 2011 16:05:41 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28241 invoked by uid 500); 7 Jul 2011 16:05:41 -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 28224 invoked by uid 99); 7 Jul 2011 16:05:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 16:05:40 +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; Thu, 07 Jul 2011 16:05:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 561864BCD4 for ; Thu, 7 Jul 2011 16:05:17 +0000 (UTC) Date: Thu, 7 Jul 2011 16:05:17 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1571284865.7991.1310054717349.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <463470900.55765.1306838807767.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2018) Move all journal stream management code into one place 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-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061403#comment-13061403 ] Todd Lipcon commented on HDFS-2018: ----------------------------------- Hey Ivan/Jitendra. I'm taking a look at this patch, and while I really like the direction it's headed, I'd like to propose that we hold off on committing it until after HDFS-1073 is merged into trunk. My thinking is that we'd finish the remaining tasks on 1073 (per my email to general@ last night), merge it, and then keep the 1073 branch alive to finish the work related to HDFS-1580 and this JIRA. My reasoning is that the 1073 merge is a blocker both for the NN HA work and for the 0.23 release. While it would be awesome to get the hooks in for BK in the same timeframe, I don't think it should be a release blocker, since it's truly a new feature. Does that make sense? I'll try to review this in parallel while we get the remaining 1073 tasks done. > Move all journal stream management code into one place > ------------------------------------------------------ > > Key: HDFS-2018 > URL: https://issues.apache.org/jira/browse/HDFS-2018 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ivan Kelly > Assignee: Ivan Kelly > Fix For: Edit log branch (HDFS-1073) > > Attachments: HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff, HDFS-2018.diff > > > Currently in the HDFS-1073 branch, the code for creating output streams is in FileJournalManager and the code for input streams is in the inspectors. This change does a number of things. > - Input and Output streams are now created by the JournalManager. > - FSImageStorageInspectors now deals with URIs when referring to edit logs > - Recovery of inprogress logs is performed by counting the number of transactions instead of looking at the length of the file. > The patch for this applies on top of the HDFS-1073 branch + HDFS-2003 patch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira