Real-time Statistics on SNS Pilot Project
Switch branches/tags
Nothing to show
Pull request Compare This branch is 6 commits behind tedwon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
etc/scripts
src/main
README.md
pom.xml

README.md

real-time-statsS-pilot

Real-time Analytics Pilot Project on SNS Big Data

http://www.facebook.com/groups/realtimecep/ http://www.facebook.com/groups/jbossusergroup/

See http://storm-project.net

See http://esper.codehaus.org/tutorials/tutorial/quickstart.html

See http://tedwon.com/display/dev/CEP

See http://tedwon.com/display/dev/Twitter+Storm

Prerequisites for Building

Java JDK 1.6

Maven 2.2 or higher (http://maven.apache.org)

Redis, latest stable version (http://redis.io)

Node.js (http://nodejs.org/download)

Build

$ mvn clean package

Run in local mode

$ mvn compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=com.realtimecep.pilots.analytics.sns.LocalTopologyStarter -Dexec.args=" <track(comma separated filter terms)> localhost 6379"

or

$ java -cp rt-statss-pilot-0.1.0-SNAPSHOT-jar-with-dependencies.jar -Dlog4j.configuration=log4j.xml com.realtimecep.pilots.analytics.sns.LocalTopologyStarter <track(comma separated filter terms)> localhost 6379

Run in cluster mode

Start Topology Command

$ storm jar rt-statss-pilot-0.1.0-SNAPSHOT-jar-with-dependencies.jar com.realtimecep.pilots.analytics.sns.ClusterTopologyStarter <track(comma separated filter terms)> localhost 6379

Stop Topology Command

$ storm kill statss-analytics-topology

Activate Topology Command

$ storm activate statss-analytics-topology

Deactivate Topology Command

$ storm deactivate statss-analytics-topology

Rebalance Topology Command

$ storm rebalance statss-analytics-topology

Run Live Chart UI

cd src/main/node

node app.js

http://localhost:12567