Manually Upgrade CDH 5.2 in CM 5

I was interrupted again when upgrading CDH.


This time, NameNode was not started, I have to bring them up and resume the upgrade progress.
I didn’t save any log about NN’s error, stop all HDFS components and ran ‘Upgrade HDFS Metadata‘, then start HDFS.


Next, YARN.
I started YARN, and then all other services. Hive went down, then YARN.
I checked CM’s monitor:

I found both instances of ResourceManager were ‘Standby‘.

Here is what I found from /var/log/hadoop-yarn/

Google helps a lot:

In /opt/cloudera/parcels/CDH/lib/zookeeper/bin/,