Using a Local Parcel Repository
To use a local parcel repository, complete the following steps:
- Open the Cloudera Manager Admin Console and click Parcels in the left-side navigation menu.
- Select Configuration and verify that you have a
Local Parcel Repository path set. By default, the directory is
/opt/cloudera/parcel-repo
. - Remove any Remote Parcel Repository URLs that you are not using, including ones that point to Cloudera archives.
- Add the parcel you want to use to the local parcel repository directory that you specified. For instructions on downloading parcels, see Downloading and Publishing the Parcel Repository above.
- In the command line, navigate to the local parcel repository directory.
- Create a SHA1 hash for the parcel you added and save it to a file named
parcel_name.parcel.sha
.For example, the following command generates a SHA1 hash for the parcelCDH-6.1.0-1.cdh6.1.0.p0.770702-el7.parcel
:sha1sum CDH-6.1.0-1.cdh6.1.0.p0.770702-el7.parcel | awk '{ print $1 }' > CDH-6.1.0-1.cdh6.1.0.p0.770702-el7.parcel.sha
- Change the ownership of the parcel and hash files to
cloudera-scm
:sudo chown -R cloudera-scm:cloudera-scm /opt/cloudera/parcel-repo/*
- In the Cloudera Manager Admin Console, click Parcels page in the left-side navigation menu.
- Click Check for New Parcels and verify that the new parcel appears.
- Download, distribute, and activate the parcel.