Support Questions
Find answers, ask questions, and share your expertise

Namenode fails to start after CDH5 upgrade

Explorer

Hi,

 

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.

 

 

java.io.IOException:
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.

 

Regards,

Suresh

1 REPLY 1

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.

http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Cloudera-Manager-Managing-...

 

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:

http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Cloudera-Manager-Administr...

 

Thanks,

Darren