You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by xi...@apache.org on 2018/01/09 01:25:44 UTC

[03/33] samza-hello-samza git commit: SAMZA-663: change README-gradle to markdown format

SAMZA-663: change README-gradle to markdown format


Project: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/commit/c0ef56c1
Tree: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/tree/c0ef56c1
Diff: http://git-wip-us.apache.org/repos/asf/samza-hello-samza/diff/c0ef56c1

Branch: refs/heads/master
Commit: c0ef56c1aecafce2569ad3c377a42f4926eab19f
Parents: 28d1ca1
Author: Yan Fang <ya...@gmail.com>
Authored: Wed Apr 29 09:48:41 2015 -0700
Committer: Yi Pan (Data Infrastructure) <ni...@gmail.com>
Committed: Mon Dec 21 17:22:19 2015 -0800

----------------------------------------------------------------------
 README-gradle.md  | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
 README-gradle.txt | 51 --------------------------------------------------
 2 files changed, 51 insertions(+), 51 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/samza-hello-samza/blob/c0ef56c1/README-gradle.md
----------------------------------------------------------------------
diff --git a/README-gradle.md b/README-gradle.md
new file mode 100644
index 0000000..a564427
--- /dev/null
+++ b/README-gradle.md
@@ -0,0 +1,51 @@
+
+To use gradle to build/run the hello-samza project:
+
+1) the project is configured to download and use gradle version 2.3 - on first task execution, it will download the required gradle jars.
+
+2) download/install yarn/kafka/zookeeper:
+
+	$ ./gradlew installGrid
+
+3) build hello-samza job package:
+
+	$ ./gradlew distTar
+
+4) deploy hello-samza project to grid:
+
+	$ ./gradlew deployHelloSamza
+
+5) start the grid (starts up yarn/kafka/zookeeper):
+
+	$ ./gradlew startGrid
+
+6) run the various Samza tasks that are part of hello-samza project:
+
+	$ ./gradlew runWikiFeed
+	$ ./gradlew runWikiParser
+	$ ./gradlew runWikiStats
+
+7) view all the current Kafka topics:
+
+	$ ./gradlew listKafkaTopics
+
+8) view the Kafka topics output by the various Samza tasks:
+
+	$ ./gradlew dumpWikiRaw
+	( output of Kafka topic scrolls by)
+	CTRL-c
+
+	$ ./gradlew dumpWikiEdits
+	( output of Kafka topic scrolls by)
+	CTRL-c
+
+	$ ./gradlew dumpWikiStats
+	( output of Kafka topic scrolls by)
+	CTRL-c
+
+9) stop all the components:
+
+	$ ./gradlew stopGrid
+
+Shortcut: using the 'runWiki*' tasks directly will do steps 3-6 automatically.
+

http://git-wip-us.apache.org/repos/asf/samza-hello-samza/blob/c0ef56c1/README-gradle.txt
----------------------------------------------------------------------
diff --git a/README-gradle.txt b/README-gradle.txt
deleted file mode 100644
index a564427..0000000
--- a/README-gradle.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-
-To use gradle to build/run the hello-samza project:
-
-1) the project is configured to download and use gradle version 2.3 - on first task execution, it will download the required gradle jars.
-
-2) download/install yarn/kafka/zookeeper:
-
-	$ ./gradlew installGrid
-
-3) build hello-samza job package:
-
-	$ ./gradlew distTar
-
-4) deploy hello-samza project to grid:
-
-	$ ./gradlew deployHelloSamza
-
-5) start the grid (starts up yarn/kafka/zookeeper):
-
-	$ ./gradlew startGrid
-
-6) run the various Samza tasks that are part of hello-samza project:
-
-	$ ./gradlew runWikiFeed
-	$ ./gradlew runWikiParser
-	$ ./gradlew runWikiStats
-
-7) view all the current Kafka topics:
-
-	$ ./gradlew listKafkaTopics
-
-8) view the Kafka topics output by the various Samza tasks:
-
-	$ ./gradlew dumpWikiRaw
-	( output of Kafka topic scrolls by)
-	CTRL-c
-
-	$ ./gradlew dumpWikiEdits
-	( output of Kafka topic scrolls by)
-	CTRL-c
-
-	$ ./gradlew dumpWikiStats
-	( output of Kafka topic scrolls by)
-	CTRL-c
-
-9) stop all the components:
-
-	$ ./gradlew stopGrid
-
-Shortcut: using the 'runWiki*' tasks directly will do steps 3-6 automatically.
-