An open API service indexing awesome lists of open source software.

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

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.