Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Rising Star

DISCLAIMER: This is a method that is not recommended for any production use, only for development purposes. Only Cloudbreak official versions are supported, and upgrading to a non-supported version could cause unforeseen issues, and loss of official Hortonworks support. Moreover, this method only works for upgrades, not downgrades; downgrades would result in data loss.

Recently, I have been playing with Cloudbreak and have been needing to upgrade my local version. While it follows the principles detailed in Hortonworks documentation, I thought I'd share a quick step by step guide on how to upgrade to any version of Cloudbreak.

1. Stop Cloudbreak on your machine:

cbd kill

1. Go to https://mvnrepository.com/artifact/com.sequenceiq/cloudbreak and find the version you need (e.g. 2.8.1-rc.48)

2. On the VM where Cloudbreak is running, navigate to the directory where your Profile file is located. For example:

cd /var/lib/cloudbreak-deployment/

2. Run the following commands to download the binary:

export CBD_VERSION=2.8.1-rc.48
curl -Ls public-repo-1.hortonworks.com/HDP/cloudbreak/cloudbreak-deployer_${CBD_VERSION}_$(uname)_x86_64.tgz | tar -xz -C /bin cbd

3. Verify the version:

cbd version

4. Regenerate assets:

cbd regenerate

5. Restart Cloudbreak:

cbd start
689 Views