- Create/use a cluster managed with Cloudera Manager.
- Upgrade cluster to Java8 or install Java8 separate on the host(s) which will be running the Divolte-collector.
- Build Divolte, and copy the Divolte-collector-x.x.jar into /divolte-parcel/DIVOLTE-x.x/lib/
- Create a parcel and place it in the /opt/cloudera/parcel-repo/
- Create a csd (CustomServiceDescriptor) and place it in the /opt/cloudera/csd/
- Use ClouderaManager to distribute and activate the parcel.
- Add the Divolte service using the wizard.
- Start collecting!
Cloudera Docs: [https://github.com/cloudera/cm_ext/wiki/Building-a-parcel]
Validator is created from https://github.com/cloudera/cm_ext/validator.
Create a parcel using the /divolte-parcel/build-parcel.sh script. Validate the parcel for errors with the command:
java -jar ../cm_ext/validator/target/validate.jar DIVOLTE*.parcel
If it's valid you can copy the parcel and the corresponding hash to the directory on cloudera-manager machine in the folder /opt/cloudera/parcel-repo/
[https://github.com/cloudera/cm_ext/wiki/CSD-Overview]
Use maven to create a fresh csd file.
mvn clean package
Copy this jar to /opt/cloudera/csd/. This directory will probably not exist, then create it. After login into Cloudera-Manager you can check if the parcel is found: [http://your-cloudera-manager:7180/cmf/csd/refresh]
If there are no errors you can install the Divolte service using the Add Service wizard.