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 BD5C59534 for ; Thu, 9 Feb 2012 05:14:39 +0000 (UTC) Received: (qmail 37212 invoked by uid 500); 9 Feb 2012 05:14:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 37177 invoked by uid 500); 9 Feb 2012 05:14:29 -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 37152 invoked by uid 99); 9 Feb 2012 05:14:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 05:14:24 +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, 09 Feb 2012 05:14:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C6C421ABD77 for ; Thu, 9 Feb 2012 05:14:00 +0000 (UTC) Date: Thu, 9 Feb 2012 05:14:00 +0000 (UTC) From: "Eli Collins (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <820292803.18122.1328764440815.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2109195778.18105.1328764080327.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2922) HA: close out operation categories 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-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-2922: ------------------------------ Attachment: hdfs-2922.txt Patch attached. Updates operations per the description (most are unchanged). Also: - Remove warn in RetryInvocationHandler so it's just a debug so we don't log on every operation to an active that we failed over to - Fix a couple spelling mistakes > HA: close out operation categories > ---------------------------------- > > Key: HDFS-2922 > URL: https://issues.apache.org/jira/browse/HDFS-2922 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha > Affects Versions: HA branch (HDFS-1623) > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: hdfs-2922.txt > > > We need to close out the NN operations categories. > The following operations should be left as is, ie not failover, as it's reasonable to call these on a standby, and we just need to update the TODO with a comment: > - {{setSafeMode}} (Might want to force the standby out of safemode) > - {{restoreFailedStorage}} (Might want to tell the standby to restore the shared edits dir) > - {{saveNamespace}}, {{metaSave}} (Could imagine calling these on a standby eg in a recovery scenario) > - {{refreshNodes}} (Decommissioning needs to refresh the standby) > The following operations should be checked for READ, as neither should need to be called on standby, will failover unless stale reads are enabled: > - {{getTransactionID}}, {{getEditLogManifest}} (we don't checkoint the standby) > The following operations should be checked for WRITE, as they should not be called on a standby, ie should always failover: > - {{finalizeUpgrade}}, {{distributedUpgradeProgress}} (should not be able to upgrade the standby) > - {{setBalancerBandwidth}} (balancer should failover) -- 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