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 A79A810250 for ; Fri, 5 Apr 2013 20:03:16 +0000 (UTC) Received: (qmail 84157 invoked by uid 500); 5 Apr 2013 20:03:16 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 84064 invoked by uid 500); 5 Apr 2013 20:03:16 -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 84055 invoked by uid 99); 5 Apr 2013 20:03:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 20:03:16 +0000 Date: Fri, 5 Apr 2013 20:03:16 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-4631) Support customized call back method during failover automatically. 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-4631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-4631: ------------------------------ Status: Open (was: Patch Available) > Support customized call back method during failover automatically. > ------------------------------------------------------------------ > > Key: HDFS-4631 > URL: https://issues.apache.org/jira/browse/HDFS-4631 > Project: Hadoop HDFS > Issue Type: Improvement > Components: ha > Affects Versions: 3.0.0 > Reporter: Fengdong Yu > Labels: features, ha, hadoop > Fix For: 3.0.0 > > Attachments: HDFS-4631.patch > > Original Estimate: 0.5m > Remaining Estimate: 0.5m > > ZKFC add HealthCallbacks by default, this can do quiteElection at least. but we often want to be alerted if there is fail over occurring(such as send email, short messages), especially for prod cluster. > There is a configured fence script. maybe we can put all these logics in the script. but in reasonable, fence script does only one thing: fence :) > So I added this patch, we can configure customized HM callback method, if there is no configuration, then only HealthCallbacks is added. -- 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