11-30-2017 05:20 AM - last edited on 11-30-2017 05:32 AM by cjervis
I've just finished CDH upgrade with help of Cloudera Manager. Do you know what is the result of 'Finalize Metadata Update' NameNode's option after successful upgrade? I've used this option, but it's still enabled. How can I confirm that upgrade is finalized?
Provided that upgrade is not finalized yet - is there a rollback/downgrade path in case of problems with HDFS? Is it available in any configuration or only if rolling upgrade (HA and Cloudera Enterprise in place) is carried out?
10-10-2018 05:07 PM
Most likely you have found it out by now, but an easy way is to check whether the NameNode's data directory contains the 'previous' folder in addition to the 'current' folder which is always there during normal operations.
Also in the newer versions Cloudera Manager gives you a warning when you are running with unfinalized metadata.
10-31-2018 02:55 AM
10-31-2018 03:30 AM
Hi @szamasz, in the case of the 5.9 to 5.11 upgrade you do not see it, because there is no NameNode metadata format change, so there is no need to keep the previous format metadata around (both of those are on HDFS 2.6.0). If you want to see the change you can see it between 5.3 and 5.4 or upgrading to 6.x from 5.x.
The NameNode UI will give you a warning anyway if you have unfinalized metadata changes. If you do not see that you are in the clear. I have just upgraded a cluster from 5.3 to 5.13 and have not finalized the upgrade, can take you a screenshot tomorrow. :)
10-31-2018 03:45 AM
10-31-2018 02:11 PM
The pdf that you are using is deprecated. We are working on removing it from the server. You should only use the current upgrade docs: