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 64EE39F81 for ; Mon, 26 Mar 2012 22:54:48 +0000 (UTC) Received: (qmail 33619 invoked by uid 500); 26 Mar 2012 22:54:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 33583 invoked by uid 500); 26 Mar 2012 22:54:48 -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 33570 invoked by uid 99); 26 Mar 2012 22:54:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 22:54:48 +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, 26 Mar 2012 22:54:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0358B3472EB for ; Mon, 26 Mar 2012 22:54:27 +0000 (UTC) Date: Mon, 26 Mar 2012 22:54:27 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1744498001.20198.1332802467015.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <736224907.13961.1311319498067.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2185) HA: HDFS portion of ZK-based FailoverController 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-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238942#comment-13238942 ] Aaron T. Myers commented on HDFS-2185: -------------------------------------- bq. I don't think there's a race condition here, since the NN itself always starts in standby mode, and the minicluster startup waits until it is fully active. Ah, I thought that MiniDFSCluster might return from waitActive while still in the INITIALIZING state. My mistake. I agree with you, then, that there's no race condition. Latest patch looks good to me. +1 pending Jenkins and the commit of the Common patch. > HA: HDFS portion of ZK-based FailoverController > ----------------------------------------------- > > Key: HDFS-2185 > URL: https://issues.apache.org/jira/browse/HDFS-2185 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha > Affects Versions: HA branch (HDFS-1623) > Reporter: Eli Collins > Assignee: Todd Lipcon > Attachments: Failover_Controller.jpg, hdfs-2185.txt, hdfs-2185.txt, hdfs-2185.txt, zkfc-design.pdf > > > This jira is for a ZK-based FailoverController daemon. The FailoverController is a separate daemon from the NN that does the following: > * Initiates leader election (via ZK) when necessary > * Performs health monitoring (aka failure detection) > * Performs fail-over (standby to active and active to standby transitions) > * Heartbeats to ensure the liveness > It should have the same/similar interface as the Linux HA RM to aid pluggability. -- 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