Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 23386200B77 for ; Sat, 30 Jul 2016 04:55:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 21C57160A79; Sat, 30 Jul 2016 02:55:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E120160AA6 for ; Sat, 30 Jul 2016 04:55:22 +0200 (CEST) Received: (qmail 42354 invoked by uid 500); 30 Jul 2016 02:55:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 42318 invoked by uid 99); 30 Jul 2016 02:55:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jul 2016 02:55:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0FAB82C0F02 for ; Sat, 30 Jul 2016 02:55:21 +0000 (UTC) Date: Sat, 30 Jul 2016 02:55:21 +0000 (UTC) From: "Yuanbo Liu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10664) layoutVersion mismatch between Namenode VERSION file and Journalnode VERSION file after cluster upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 30 Jul 2016 02:55:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400397#comment-15400397 ] Yuanbo Liu commented on HDFS-10664: ----------------------------------- Thoese failures seems not relate to my change. I've tested them in my own environment and they all pass. > layoutVersion mismatch between Namenode VERSION file and Journalnode VERSION file after cluster upgrade > ------------------------------------------------------------------------------------------------------- > > Key: HDFS-10664 > URL: https://issues.apache.org/jira/browse/HDFS-10664 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha, hdfs > Affects Versions: 2.7.1 > Reporter: Amit Anand > Assignee: Yuanbo Liu > Attachments: HDFS-10664.001.patch > > > After a cluster is upgraded I see a mismatch in {{layoutVersion}} between NN VERSION file and JN VERSION file. > Here is what I see: > Before cluster upgrade: > ================== > {code} > ## Version file from NN current directory > namespaceID=109645726 > clusterID=CID-edcb62c5-bc1f-49f5-addb-37827340b5de > cTime=0 > storageType=NAME_NODE > blockpoolID=BP-786201894-10.0.100.11-1466026941507 > layoutVersion=-60 > {code} > {code} > ## Version file from JN current directory > namespaceID=109645726 > clusterID=CID-edcb62c5-bc1f-49f5-addb-37827340b5de > cTime=0 > storageType=JOURNAL_NODE > layoutVersion=-60 > {code} > After cluster upgrade: > ================= > {code} > ## Version file from NN current directory > namespaceID=109645726 > clusterID=CID-edcb62c5-bc1f-49f5-addb-37827340b5de > cTime=0 > storageType=NAME_NODE > blockpoolID=BP-786201894-10.0.100.11-1466026941507 > layoutVersion=-63 > {code} > {code} > ## Version file from JN current directory > namespaceID=109645726 > clusterID=CID-edcb62c5-bc1f-49f5-addb-37827340b5de > cTime=0 > storageType=JOURNAL_NODE > layoutVersion=-60 > {code} > Since {{Namenode}} is what creates {{Journalnode}} {{VERSION}} file during {{initializeSharedEdits}}, it should also update the file with correct information after the cluster is upgraded and {{hdfs dfsadmin -finalizeUpgrade}} has been executed. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org