6.1. Downloading and Installing the Storm Application Package

  • To install the Storm Application Package:

  • Make a working directory for the Storm-on-Slider application package:

    mkdir -p /usr/work/app-packages/storm
  • Download the Storm-on-Slider application package for your operating system to the /usr/work/app-packages/storm directory. For example, use the following command to download the centos6 version:

    cd /usr/work/app-packages/storm
    wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.4.2/slider-app-packages/storm/slider-storm-app-package-0.9.3.2.2.4.2-2.zip
  • Use the following command format to install the application package on YARN:

    su <user>
    /usr/hdp/current/slider-client/bin/./slider install-package --name STORM --package <package path>

    Where <user> is the user who will create the Storm application instance.

    For example, if you downloaded the Storm package to the /usr/work/app-packages/storm folder:

    su <user>
    /usr/hdp/current/slider-client/bin/./slider install-package --name STORM --package /usr/work/app-packages/storm/slider-storm-app-package-0.9.3.2.2.0.0-2041.zip

    Note that the --name (in this case, "STORM") should match the value of the <name> element in the package metainfo.xml flle, and that the install destination in HDFS is in the user's home directory under ./slider/package/STORM/*.zip


loading table of contents...