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 D658C103FB for ; Wed, 5 Feb 2014 06:18:13 +0000 (UTC) Received: (qmail 83810 invoked by uid 500); 5 Feb 2014 06:18:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83602 invoked by uid 500); 5 Feb 2014 06:18:11 -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 83578 invoked by uid 99); 5 Feb 2014 06:18:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 06:18:10 +0000 Date: Wed, 5 Feb 2014 06:18:10 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5869) When rolling upgrade is in progress, NN should only create checkpoint right before the upgrade marker 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-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-5869: ----------------------------------------- Attachment: h5869_20140205.patch h5869_20140205.patch: updates the test and removes checkRollingUpgrade in startCheckpoint. On a second thought, we should only disallow save namespace but allow checkpoint. Otherwise, the edit log may become huge. > When rolling upgrade is in progress, NN should only create checkpoint right before the upgrade marker > ----------------------------------------------------------------------------------------------------- > > Key: HDFS-5869 > URL: https://issues.apache.org/jira/browse/HDFS-5869 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h5869_20140204.patch, h5869_20140204b.patch, h5869_20140205.patch > > > - When starting rolling upgrade, NN should create a checkpoint before it writes the upgrade marker edit log transaction. > - When rolling upgrade is in progress, NN should reject saveNamespace rpc calls. Further, if NN restarts, it should create a checkpoint only right before the upgrade marker. -- This message was sent by Atlassian JIRA (v6.1.5#6160)