This Storm Parcel and CSD greatly simplifies setting up a Storm cluster on your Cloudera cluster.
Table of Contents generated with DocToc
- Download the latest CSD release from this repository (alternatively, you can build it using the maven command "mvn assembly:assembly" and use the jar compiled in target folder)
- Upload the CSD jar to your Cloudera Manager node, place it in /opt/cloudera/csd/
- Restart cloudera-scm-manager on Clouder Manager node:
service cloudera-scm-server restart
- Clone this git repository (you do not need to clone it inside your Cloudera cluster)
- Setup a quick HTTP server to serve as cloudera repository, the HTTP server will need to serve the "parcel" directory:
cd parcel
python -m SimpleHTTPServer
- Go to your Cloudera Manager: http://x.x.x.x:7180 and login with your admin credentials
- Click on the parcels icon on the top right corner (next to the search bar)
- Click on "Edit Settings"
- Add a new value in "Remote Parcel Repository URLs", enter the IP address for the machine on which you just setup your HTTP server, for example: http://x.x.x.x:8000
- Save your changes and go back to Parcels page by clicking on the Parcels icon on the top right corner (next to the search bar)
- Click on "Check for New Parcels"
- You should see "STORM" parcel in the list. Download it, then distribute it and activate it
- You will be prompted to restart your cluster, click "Restart". Once that's done, you will need to restart "Cloudera Management Service" manually as well
- Now you should be able to simply add your new Storm service through CM. (click on the little arrow next your cluster name and click "Add Service", follow the wizard instructions)