Support Questions
Find answers, ask questions, and share your expertise

Difference between upgrading using Parcels vs Packages in CDH

Solved Go to solution
Highlighted

Difference between upgrading using Parcels vs Packages in CDH

Explorer

May I know the difference of Parcel and Packages upgrade? and How do i know what method i need to use? Do I based it on how the CDH installed previously?

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Difference between upgrading using Parcels vs Packages in CDH

Expert Contributor

Hi @Mondi 

 

The important differences between parcels and packages are:

 

  • Parcels are self-contained and installed in a versioned directory, which means that multiple versions of a given parcel can be installed side-by-side. You can then designate one of these installed versions as the active one. With packages, only one package can be installed at a time so there is no distinction between what is installed and what is active.
  • You can install parcels at any location in the filesystem. They are installed by default in /opt/cloudera/parcels. In contrast, packages are installed in /usr/lib.
  • When you install from the Parcels page, Cloudera Manager automatically downloads, distributes and activates the correct parcel for the operating system running on each host in the cluster. 

Note: You cannot install software using both parcels and packages in the same cluster.

 

Because of their unique properties, parcels offer more advantages over packages, for more details please refer here

 

Hope this helps. Please accept the answer and vote up if it did.

 

Regards,

View solution in original post

Highlighted

Re: Difference between upgrading using Parcels vs Packages in CDH

Moderator

Based on the Cloudera documentation [1] you need parcels for rolling upgrades. Rolling upgrade means less downtime/disruption in your cluster caused by the upgrade process.

 

You can migrate package installation to parcel based installation following the instructions under [2].

 

For further information about upgrading your CDH, please follow instructions under [3].

 

[1] https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_ig_managing_software.html

[2] https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_ig_migrating_packages_to_parcels...

[3] https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_cdh_upgrade.html


Ferenc Erdelyi, Technical Solutions Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

View solution in original post

3 REPLIES 3

Re: Difference between upgrading using Parcels vs Packages in CDH

Expert Contributor

Hi @Mondi 

 

The important differences between parcels and packages are:

 

  • Parcels are self-contained and installed in a versioned directory, which means that multiple versions of a given parcel can be installed side-by-side. You can then designate one of these installed versions as the active one. With packages, only one package can be installed at a time so there is no distinction between what is installed and what is active.
  • You can install parcels at any location in the filesystem. They are installed by default in /opt/cloudera/parcels. In contrast, packages are installed in /usr/lib.
  • When you install from the Parcels page, Cloudera Manager automatically downloads, distributes and activates the correct parcel for the operating system running on each host in the cluster. 

Note: You cannot install software using both parcels and packages in the same cluster.

 

Because of their unique properties, parcels offer more advantages over packages, for more details please refer here

 

Hope this helps. Please accept the answer and vote up if it did.

 

Regards,

View solution in original post

Highlighted

Re: Difference between upgrading using Parcels vs Packages in CDH

Explorer

Hi @jagadeesan just a quick question, what if I have installed the CDH cluster before using parcels, is it ok to have an upgrade using packages than parcels or it doesn't have any effect?

Highlighted

Re: Difference between upgrading using Parcels vs Packages in CDH

Moderator

Based on the Cloudera documentation [1] you need parcels for rolling upgrades. Rolling upgrade means less downtime/disruption in your cluster caused by the upgrade process.

 

You can migrate package installation to parcel based installation following the instructions under [2].

 

For further information about upgrading your CDH, please follow instructions under [3].

 

[1] https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_ig_managing_software.html

[2] https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_ig_migrating_packages_to_parcels...

[3] https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_cdh_upgrade.html


Ferenc Erdelyi, Technical Solutions Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

View solution in original post