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 6CBB910CA8 for ; Mon, 24 Feb 2014 01:28:29 +0000 (UTC) Received: (qmail 11941 invoked by uid 500); 24 Feb 2014 01:28:27 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 11838 invoked by uid 500); 24 Feb 2014 01:28:26 -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 11767 invoked by uid 99); 24 Feb 2014 01:28:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 01:28:25 +0000 Date: Mon, 24 Feb 2014 01:28:25 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6000) Avoid saving namespace when starting rolling upgrade 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-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-6000: ---------------------------- Attachment: HDFS-6000.000.patch Initial patch. Still need to fix/update unit tests. With the changes in this patch, the SBN will name the first checkpoint after starting rolling upgrade process as "fsimage_rollback". The current implementation requires that the NN directory does not contain a rollback image before we start the rolling upgrade process. Thus the patch also purges rollback image for "downgrade" (we already do this for "finalize"). > Avoid saving namespace when starting rolling upgrade > ---------------------------------------------------- > > Key: HDFS-6000 > URL: https://issues.apache.org/jira/browse/HDFS-6000 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, ha, hdfs-client, namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-6000.000.patch > > > Currently when administrator sends the "rollingUpgrade start" command to the active NN, the NN will trigger a checkpoint (the rollback fsimage). This will cause NN not able to serve for a period of time. > An alternative way is just to let the SBN do checkpoint, and rename the first checkpoint after starting the rolling upgrade to rollback image. After the rollback image is on both the ANN and the SBN, administrator can start upgrading the software. -- This message was sent by Atlassian JIRA (v6.1.5#6160)