You are viewing a plain text version of this content. The canonical link for it is here.
Posted to s4-commits@incubator.apache.org by mm...@apache.org on 2012/07/27 11:50:09 UTC

git commit: Minor readme update

Updated Branches:
  refs/heads/piper 9842cddd2 -> a8bfeca41


Minor readme update


Project: http://git-wip-us.apache.org/repos/asf/incubator-s4/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s4/commit/a8bfeca4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s4/tree/a8bfeca4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s4/diff/a8bfeca4

Branch: refs/heads/piper
Commit: a8bfeca41af64e85a95774100eacd74831ae9c55
Parents: 9842cdd
Author: Matthieu Morel <mm...@apache.org>
Authored: Fri Jul 27 13:49:18 2012 +0200
Committer: Matthieu Morel <mm...@apache.org>
Committed: Fri Jul 27 13:49:18 2012 +0200

----------------------------------------------------------------------
 .../src/main/resources/templates/newApp.README     |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/a8bfeca4/subprojects/s4-tools/src/main/resources/templates/newApp.README
----------------------------------------------------------------------
diff --git a/subprojects/s4-tools/src/main/resources/templates/newApp.README b/subprojects/s4-tools/src/main/resources/templates/newApp.README
index 2ce7c36..0da608e 100644
--- a/subprojects/s4-tools/src/main/resources/templates/newApp.README
+++ b/subprojects/s4-tools/src/main/resources/templates/newApp.README
@@ -19,11 +19,13 @@
  An "s4" script has been created at the root of the project's directory. It calls the s4 script from your S4 installation.
 
 
- To execute the application in a new S4 cluster:
+ To execute the application in a new S4 cluster (see the S4 wiki https://cwiki.apache.org/confluence/display/S4/ for more information):
  1. start a ZooKeeper instance "./s4 zkServer" (./s4 zkServer -help provides a list of options)
  2. define a logical cluster for your application "./s4 newCluster -cluster=<nameOfTheCluster> -nbTasks=<number of partitions> -flp=<a port number for the first node, other nodes use an increment on this initial port>"
  3. start a node and attach it to the cluster "./s4 node -cluster=<nameOfTheCluster>"
- 4. deploy the application "./s4 deploy -cluster=<nameOfTheCluster>"
+ 4. package the application "./s4 s4r -a=<app class> -b=`pwd`/build.gradle <app name>
+ 5. deploy the application "./s4 -s4r=`pwd`/build/libs/<app name>.s4r -cluster=<nameOfTheCluster>"
+ 6. check the status of the S4 cluster "s4 status"
 
  If you want to inject events from application 2 into application 1 on cluster 1:
  - application 1 must define an input stream with a name (say: stream1)