Installing HDP Manually
Also available as:
PDF
loading table of contents...

Validate the Installation

Validate the Apache Storm installation to verify a successful installation and configuration.

[Important]Important

You must start ZooKeeper before starting Storm.

  1. Run the following command to start the Storm daemons:

    • RHEL/CentOS/Oracle Linux

      su storm /usr/hdp/current/storm-supervisor/bin/storm supervisor

    • SLES

      su storm /usr/hdp/current/storm-supervisor/bin/storm supervisor

    • Ubuntu or Debian

      su storm /usr/hdp/current/storm-supervisor/bin/storm supervisor

  2. Run the following command to view the status of the Storm daemons:

    • RHEL/CentOS/Oracle Linux

      /usr/bin/supervisorctl status

    • SLES

      /usr/bin/supervisorctl status

    • Ubuntu

      service supervisor status

      You should see output similar to the following:

    storm-drpc RUNNING pid 3368, uptime 0:31:31
    storm-logviewer RUNNING pid 3365, uptime 0:31:31
    storm-nimbus RUNNING pid 3370, uptime 0:31:31
    storm-supervisor RUNNING pid 8765, uptime 0:00:12
    storm-ui RUNNING pid 3369, uptime 0:31:31
  3. Point your browser to the following URL:

    http://<storm-ui-server>:8080

    You should see the Storm UI web page:

  4. Run the following command to run the WordCount sample topology:

    storm jar /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-*.*-jar-with-dependencies.jar storm.starter.WordCountTopology wordcount