Updated Branches: refs/heads/master bdd4868d8 -> 61af7c349
fix hello-samza to have proper package path for config factory Project: http://git-wip-us.apache.org/repos/asf/incubator-samza/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-samza/commit/61af7c34 Tree: http://git-wip-us.apache.org/repos/asf/incubator-samza/tree/61af7c34 Diff: http://git-wip-us.apache.org/repos/asf/incubator-samza/diff/61af7c34 Branch: refs/heads/master Commit: 61af7c34944c18040dcf4a23b53d1d423591a3dc Parents: bdd4868 Author: Chris Riccomini <[email protected]> Authored: Mon Aug 12 19:09:13 2013 -0700 Committer: Chris Riccomini <[email protected]> Committed: Mon Aug 12 19:09:13 2013 -0700 ---------------------------------------------------------------------- docs/startup/hello-samza/0.7.0/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/61af7c34/docs/startup/hello-samza/0.7.0/index.md ---------------------------------------------------------------------- diff --git a/docs/startup/hello-samza/0.7.0/index.md b/docs/startup/hello-samza/0.7.0/index.md index 43b8d35..f561c95 100644 --- a/docs/startup/hello-samza/0.7.0/index.md +++ b/docs/startup/hello-samza/0.7.0/index.md @@ -43,7 +43,7 @@ Before you can run a Samza job, you need to build a package for it. This package After you've built your Samza package, you can start a job on the grid using the run-job.sh script. - deploy/samza/bin/run-job.sh --config-factory=samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-feed.properties + deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-feed.properties The job will consume a feed of real-time edits from Wikipedia, and produce them to a Kafka topic called "wikipedia-raw". Give the job a minute to startup, and then tail the Kafka topic: @@ -55,8 +55,8 @@ Pretty neat, right? Now, check out the YARN UI again ([http://localhost:8088](ht Let's calculate some statistics based on the messages in the wikipedia-raw topic. Start two more jobs: - deploy/samza/bin/run-job.sh --config-factory=samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-parser.properties - deploy/samza/bin/run-job.sh --config-factory=samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-stats.properties + deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-parser.properties + deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-stats.properties The first job (wikipedia-parser) parses the messages in wikipedia-raw, and extracts information about the size of the edit, who made the change, etc. You can take a look at its output with:
