https://github.com/chen0040/storm-sentiment-analysis
Java project on how to use storm for sentiment analysis
https://github.com/chen0040/storm-sentiment-analysis
distributed-system sentiment-analysis storm trident-ml
Last synced: 10 months ago
JSON representation
Java project on how to use storm for sentiment analysis
- Host: GitHub
- URL: https://github.com/chen0040/storm-sentiment-analysis
- Owner: chen0040
- License: mit
- Created: 2017-07-02T03:14:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T10:18:31.000Z (about 8 years ago)
- Last Synced: 2025-04-03T13:47:58.821Z (about 1 year ago)
- Topics: distributed-system, sentiment-analysis, storm, trident-ml
- Language: Java
- Size: 265 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# storm-sentiment-analysis
Sentiment analysis with Spring and Storm
# Usage
Git clone this project and cd to its root directory
### Test locally
Please refers to the StormAppUnitTest.java in the test/java folder on how to test the storm topology locally
### Submit storm topology to remote storm cluster
To submit the storm topology to remote storm cluster, we need to have a devops environment that set up the
remote storm cluster.
You can start the remote storm cluster by running the following command from the root directory of this project:
```bash
vagrant up
```
This will start:
* a zookeeper cluster at the following hostname:ips:
* zoo1:192.168.10.12
* zoo2:192.168.10.13
* zoo3:192.168.10.14
* a kafka server at the following hostname:ip (which use the zookeeper cluster above):
* kafka1:192.168.10.15
* a storm cluster at the following hostname:ips (which uses the zookeeper cluster above):
* stormnumbus1:192.168.10.17
* stormslave1:192.168.10.18
* stormslave2:192.168.10.19
* stormslave3:192.168.10.20
Once the vagrant VMs are up and running, you can go to your host computer and enter
the url http://192.168.10.17:8080 to your browse on the host computer. This will show the storm UI.