ptgoetz / flux

Framework for creating and deploying Apache Storm Topologies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example for (Java-)dummies

larskluge opened this issue · comments

This is an awesome project and I'd love to use it, but having issues to get rolling. An example for dummies would be very much appreciated, an approach here:

git clone https://github.com/ptgoetz/flux.git
cd flux/flux-examples
mvn package
storm jar ./target/flux-examples-0.2.3-SNAPSHOT.jar org.apache.storm.flux.Flux --remote ./target/classes/simple_wordcount.yaml -c nimbus.host=localdocker -c nimbus.thrift.port=49627

Unfortunately this fails with Error: Could not find or load main class org.apache.storm.flux.Flux

Any help is very much appreciated. More sophisticated issues from here on—promised. Thank you.

@larskluge Thank for pointing this out. I've fixed the examples packaging and added a README per your suggestion.

If you update from master and to a mvn install from the flux directory, you should be good to go.

Sweet—works like a charm :) Thanks a ton @ptgoetz