In this section, we will focus on how we can deploy topologies on a remote Storm cluster. We will start with the installation of a Storm client on the client machine, which can be different from the machines in the Storm cluster because submitting and deploying topologies on a remote Storm cluster requires a Storm client.
The following are the steps that need to be performed to set up a Storm client:
Download the latest stable Storm release from https://storm.incubator.apache.org/downloads.html.
Once you have downloaded the latest version, copy and unzip it to the client machine. Now, we set the
STORM_HOME
environment variable to make the installation easier.Go to the
$STORM_HOME/conf
directory at the client node and add the following line to thestorm.yaml
file:nimbus.host: "nimbus.host.ip"
Also, now place the copy of the
storm.yaml
file located at$STORM_HOME/conf
in the~/.storm
folder on the client machine.
Once the installation of the Storm...