Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Namenode fails to start after CDH5 upgrade

Namenode fails to start after CDH5 upgrade




Am trying to upgrade my cluster from CDH4.6 to CDH5 .

                Cloudera Manager Server,Agent were upgraded successfully.

                CDH5 components were installed manually on each nodes in the cluster.

               When bringing the   Namenode up , i got the below mentioned error. Please help.
File system image contains an old layout version -40.
An upgrade to version -55 is required.
Please restart NameNode with the "-rollingUpgrade started" option if a rolling upgraded is already started; or restart NameNode with the "UPGRADE" to start a new upgrade.





Re: Namenode fails to start after CDH5 upgrade

Follow the documentation here to complete the upgrade of your cluster. You need to do more than just change the binaries.


If you upgrading CM as well, make sure you've done the hard restart step described in the CM upgrade docs, otherwise HDFS will fail to start for a different reason:




Don't have an account?
Coming from Hortonworks? Activate your account here