Database Reference
In-Depth Information
The ZooKeeper installation and use was already described in Chapter. Here are the successful outputs from the
ZooKeeper checks:
nc hc1r1m1 2181
ruok
imok
nc hc1r1m2 2181
ruok
imok
nc hc1r1m3 2181
ruok
imok
Run Storm
With the prep work finished, you're now ready to run the Storm servers. Start the supervisor processes on the slave
nodes first, and then the Nimbus process on the master server. Also, start the Storm user interface process so that
Storm can be monitored via a web page. On each of the slave nodes (hc1r1m1, hc1r1m2, hc1r1m3 ), you run the Storm
supervisor slave process (via the Linux hadoop account) as a background process ( "&" ). This will free up the terminal
session if it is required:
storm supervisor &
Run the Storm Nimbus master process on the master server hc1nn, and run the user interface instance on the
same server:
storm nimbus &
storm ui &
The Storm cluster is now running, but you need to check the logs under /usr/local/storm/logs for errors on each
server. Shown in Figure 6-7 , the Storm user interface is available at http://hc1nn:8080/ .
 
Search WWH ::




Custom Search