Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Building the Parcel and the Service

Download the Aspire projects from https://stgit.searchtechnologies.com/aspire/cloudera-parcels/tree/4.0

Step 1. Compile the service

  1. Compile the project using the command:

    Code Block
    languagejava
    themeRDark
    cloudera-parcels>mvn clean install


  2. Put the jar of the aspire-csd project on the directory /opt/cloudera/csd on the machine where the Cloudera server was installed.

Step 2. Create the parcel

  1. On the project aspire-parcel execute the command

    Code Block
    languagejava
    themeRDark
    tar zcvf ASPIRE-4.0-el7.parcel ASPIRE-4.0 --owner=root --group=root

    Check this page to ascertain which parcel suffix to use.

  2. Put the parcel on the parcel repository that you are going to use, and update/create the manifest file, this can be done using this python file make_manifest.py with the following command:

    Code Block
    languagejava
    themeRDark
     python ./make_manifest.py /path/of/parcels/repository


Creating and temporal parcel repository

If a parcel repository is requirerequired, a temporal one can be created following the steps inside this link