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