hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Anand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10664) layoutVersion mismatch between Namenode VERSION file and Journalnode VERSION file after cluster upgrade
Date Wed, 20 Jul 2016 21:18:20 GMT
Amit Anand created HDFS-10664:
---------------------------------

             Summary: 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


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 upgrade 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


Mime
View raw message