Created on 02-11-2014 01:11 PM - edited 09-16-2022 01:53 AM
I've reviewed the upgrade documentation for CDH5B2, but unfortunately it seems to only cover package installations. I'm assuming that parcel upgrades are effectively not possible, since everything has to be offline to perform the upgrade?
(by the way, you need to fix your label requirements for posting to this forum ... I believe CDH5B2 uses CM 5.0B2)
Thanks,
James
Created 02-11-2014 01:31 PM
Created 02-11-2014 01:31 PM
Created 02-11-2014 01:50 PM
Thanks for the input ... I think I mis-read the title of this forum, as I thought it was for installations of CDH via CM, sorry!
I was afraid that was going to be the answer. I literally just finished building a POC cluster of CDH5B1 and loading 30TB of test data last Friday. I didn't really want to rebuild the cluster for CDH5B2 if it wasn't required, to be honest.
Created 02-11-2014 01:56 PM
Hi James,
You can try the instructions you linked before you change over to a beta 2 cluster, but there's no guarantee that things will all work happily. Whenever there's a command-line script you need to run, look in the relevant CM service and/or role to see if that command can be run by CM instead. Instead of installing the new CDH packages, download, distribute, and activate the new CDH parcel. Don't try to use the CM cluster upgrade wizard. There's no reason I can think of that they won't all work, but it's not recommended either.
CM will of course support upgrades between non-beta releases.
Thanks,
Darren
Created 02-14-2014 03:47 PM
Though Darren is certainly correct that CM does not natively support upgrades between 5b1 and 5b2, it can be done with some extra manual steps involved. Here's what you would do:
Stop CDH5b1 cluster in CM5b1.
Stop Cloudera Monitoring Services.
Upgrade CM to 5b2.
Start CM
Upgrade CDH to 5b2 (for packages - manually, for parcels - using CM UI). If upgrading using parcels, DO NOT start the cluster.
(Only if YARN is present in secure cluster) Goto “Settings” > “Administration”, Select ALL “yarn” principals and hit “Regenerate”. Wait for the “Generate Credentials” command to finish. This is needed because CDH5b2 added the HTTP principal for YARN.
Start ZooKeeper
Run HDFS Metadata Upgrade command from HDFS Actions Menu
Run Oozie Database Upgrade command from Oozie Actions Menu
Run Oozie Install Sharelib command from Oozie Actions Menu
Run Upgrade Sqoop command from Sqoop Actions Menu
Run Upgrade Hive Metastore Database Schema command from Hive Actions Menu
Start all services
Deploy Client Configuration for the cluster.
Hope this helps.
Best,
Aaron
Created 02-17-2014 07:06 AM
Thank you for the information; I'll give that a try.