Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README

  • Loading branch information...
commit a13f200fbe04ac482459b308d4ed66188b3cc962 1 parent e8930b4
Bernardo Heynemann authored
Showing with 21 additions and 5 deletions.
  1. +21 −5 README.md
26 README.md
View
@@ -39,18 +39,34 @@ To run `r3-app`, given the above redis back-end, type:
r3-app --redis-port=7778 --redis-pass=r3 -c config.py
-The `config.py` argument tells r³ which `input stream processors` and
-`reducers` should be enabled.
-
We'll learn more about the configuration file below.
Given that you have a proper configuration file, your r3 service will be
available at `http://localhost:8888`.
As to how we actually perform a map-reduce operation, we'll see that after the
-`mapper` section.
+`Running Mappers` section.
+
+App Configuration
+-----------------
+
+In the above section we specified a file called `config.py` as configuration.
+Now we'll see what that file contains.
+
+The configuration file that we pass to the `r3-app` command is responsible for
+specifying `input stream processors` and `reducers` that should be enabled.
+
+Let's see a sample configuration file:
+
+ INPUT_STREAMS = [
+ 'test.count_words_stream.CountWordsStream'
+ ]
+
+ REDUCERS = [
+ 'test.count_words_reducer.CountWordsReducer'
+ ]
Running Mappers
---------------
-
+As you
Please sign in to comment.
Something went wrong with that request. Please try again.