Setting up Storm-YARN

Since Storm-YARN is still in alpha, we will be proceeding with the base master branch of the git repository. Make sure you have git installed on your system. If not, then run the following command:

# yum install git-core  

Also make sure that you have Apache Zookeeper and Apache Maven installed on your system. Refer to the previous chapters for their setup instructions.

The following are the steps for deploying Storm-YARN:

  1. Clone the storm-yarn repo with the following command:
$ cd ~/opt
$ git clone https://github.com/yahoo/storm-yarn.git
$ cd storm-yarn  
  1. Build storm-yarn by running the following mvn command:
    $ mvn package
    [INFO] Scanning for projects...
    [INFO]                                                                         
    [INFO] ---------------------------------------------------- ...

Get Mastering Apache Storm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.