-
Notifications
You must be signed in to change notification settings - Fork 0
How to start RTwUP
Daniele Morgantini edited this page Jan 8, 2022
·
2 revisions
- Make sure Redis is active (in Ubuntu,
redis-server
command on shell) and Storm is installed and running on Zookeeper - Start Node.js server
node server.js
- Open
index.html
page on your browser or visit its URL - Start Storm topology
storm jar RTwUP-jar-with-dependencies.jar storm.RtwupTopology
If you want to run it locally for testing purposes:
- You should package it as an executable jar with dependencies
- Set
production = false
in the config.properties - Execute it with the command
java -jar target/RTwUP-jar-with-dependencies.jar src/test/resources/config.properties
orstorm local target/RTwUP-jar-with-dependencies.jar storm.RtwupTopology
.
In both cases, please verify that config.properties file can be found in a suitable location for the program to read it (e.g., you might have to locate it inside each storm node).