07-10-2017 09:44 AM
I use Cloudera Manager Express.
I am trying to upgrade from 5.3.8 to 5.11.1
When I use CME I get an error:
"File system image contains an old layout version -59. An upgrade to version -60 is required."
As CME does not support rolling restart I will need to do this manually. Can anyone point me to documentation on how to do a rolling restart from the command line because CME does not support it.
Solved! Go to Solution.
07-10-2017 11:59 AM
I can not do this from the command line because the packages aren't installed with yum.
eg; sudo service hadoop-hdfs-namenode upgrade
Does not work
I can not do this with Cloudera Manager Express because rolling restart is not supported.
So, catch-22. Do I give up on Cloudera Manager and go back to a manual configuration?
Surely this is possible??
07-10-2017 11:44 PM
07-10-2017 11:56 PM
Thanks very much for replying. I was hoping these forums might be a bit busier but I guess there aren't so many people using community edition these days.
Anyway, I did get this working in the end, but I was very disappointed in the lack of clear documentation. From what I remember this is what I did:
**BACKUP NAMENODE BEFORE TOUCHING ANYTHING**
1) Shutdown the cluster
2) Upgraded to 5.11 using Parcels in CM. Did *NOT* restart cluster
3) Started ZooKeepers only
4) Went to HDFS and choose "Upgrade HDFS Metadata". The new binaries must be in place, and the cluster must be down
5) Then try to finalize the upgrade. I am not sure this worked as expected. I think there was an issue with one BP
6) re-started cluster
7) When to NameNode page and selected "Finalize Metadata Upgrade"
After a long time it all sorted itself out and is up and running on 5.11
What a painful process though.