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 1E917C993 for ; Tue, 19 Jun 2012 00:20:43 +0000 (UTC) Received: (qmail 35213 invoked by uid 500); 19 Jun 2012 00:20:43 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35117 invoked by uid 500); 19 Jun 2012 00:20:42 -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 35032 invoked by uid 99); 19 Jun 2012 00:20:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 00:20:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8A53814285F for ; Tue, 19 Jun 2012 00:20:42 +0000 (UTC) Date: Tue, 19 Jun 2012 00:20:42 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <4720275.27562.1340065242568.JavaMail.jiratomcat@issues-vm> In-Reply-To: <737858646.441.1337105589140.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3425) Enable standby namenode to tail edits from journal service 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-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396403#comment-13396403 ] Todd Lipcon commented on HDFS-3425: ----------------------------------- Hey Brandon, I'm just looking over this quickly, and it seems inelegant that we have a lot of "if (usesJournalService())" type calls. In the code I'm working on, this is all done using the existing interfaces like selectInputStreams() so we don't need to have two implementations of all this code. I'm also working on the "direct-from-HTTP" loading. I'll try to push my branch to github later, but it's currently in a lot of flux so I don't want to try to separate it out into clean JIRAs before its' a bit farther along. Is that OK? > Enable standby namenode to tail edits from journal service > ---------------------------------------------------------- > > Key: HDFS-3425 > URL: https://issues.apache.org/jira/browse/HDFS-3425 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: HDFS-3425.HDFS-3092.patch, HDFS-3425.HDFS-3092.patch.2 > > > In an HA cluster with the journal service configured, namenode should get edit logs from journal service instead of from local or shared storage directories. > As one of the first steps towards this goal, this JIRA is to enable standby namenode to tail edits from journal services. -- 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