Permalink
Browse files

Update instructions for running the topology.

  • Loading branch information...
1 parent a1bfdc2 commit b4a1e4558311c6a5d392eb1c89d56071fa33cce4 @kitmenke committed Sep 12, 2015
Showing with 17 additions and 15 deletions.
  1. +17 −15 readme.md
View
@@ -9,11 +9,25 @@ Outline:
1. SplitSentenceBolt: splits each sentence into word tuples
1. WordCountBolt: keeps track of counts for each word and emits (word, count) tuples
1. OutputBolt: LOG the current word and the count
+1. SolrIndexerBolt: Index the current word and the count in Solr
+
+Environment
+-----------
+
+I developed this topology on Windows 10 using the following:
+
+- Eclipse Mars IDE for Java Developers (includes maven and git)
+- [TestNG plugin](http://testng.org/doc/download.html for Eclipse)
+- Oracle Virtual Box
+- [HortonWorks HDP 2.3 Sandbox](http://hortonworks.com/products/hortonworks-sandbox/)
+- Solr 5.2.1 (already installed on the HDP 2.3 sandbox)
+- Storm 0.10.0.2.3.0.0-2557 (already installed on the HDP 2.3 sandbox)
+- Banana 1.5.0 (install instructions below)
Running the topology in local mode
----------------------------------
-Assuming you're using Eclipse and you're able to open the project without errors.
+Clone the project and open it in Eclipse. Make sure you're able to execute a maven build without errors.
1. Open com.kitmenke.storm.WordCountTopology
1. Right click on the class, Debug As -> Java Application
@@ -24,26 +38,14 @@ Running the topology on a cluster
For testing I'm using the Hortonworks HDP 2.3 Sandbox.
1. Build the project using `mvn clean package`
-1. Upload the jar to a node in the cluster which has the storm client
+1. Upload the jar to the cluster
1. Submit the topology: `storm jar storm-stlhug-demo-0.0.1-SNAPSHOT.jar com.kitmenke.storm.WordCountTopology WordCountTopology`
-Environment
------------
-
-I developed this topology on Windows 10 using the following:
-
-- Eclipse Mars IDE for Java Developers (includes maven and git)
-- [TestNG plugin](http://testng.org/doc/download.html for Eclipse)
-- Oracle Virtual Box
-- [HortonWorks HDP 2.3 Sandbox](http://hortonworks.com/products/hortonworks-sandbox/)
-- Solr 5.2.1 (already installed on the HDP 2.3 sandbox)
-- Storm 0.10.0.2.3.0.0-2557 (already installed on the HDP 2.3 sandbox)
-- Banana 1.5.0
Solr and Banana
---------------
-As part of the demo, we'll show indexing data in Solr. The HDP 2.3 Sandbox comes with solr installed in /opt/lucidworks-hdpsearch/solr but doesn't include banana.
+As part of the demo, we'll show indexing data in Solr. The HDP 2.3 Sandbox comes with solr installed in /opt/lucidworks-hdpsearch/solr. We will need to install [Banana](https://github.com/LucidWorks/banana/) ourselves.
```
su - solr

0 comments on commit b4a1e45

Please sign in to comment.