August 2017
Beginner to intermediate
284 pages
6h 51m
English
Let's first check the numbers of worker processes that are running in the Storm cluster by running the jps command on the supervisor machine:
Run the jps command on supervisor-1:
> jps 24347 worker 23940 supervisor 24593 Jps 24349 worker
Two worker processes are assigned to the supervisor-1 machine.
Now, run the jps command on supervisor-2:
> jps 24344 worker 23941 supervisor 24543 Jps
One worker process is assigned to the supervisor-2 machine.
A total of three worker processes are running on the Storm cluster.
Let's try reconfiguring SampleStormClusterTopology to use two worker processes, SampleSpout to use four executors, and SampleBolt to use four executors:
> bin/storm ...
Read now
Unlock full access