You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2016/12/10 21:21:13 UTC
[1/3] incubator-beam-site git commit: [BEAM-900] Spark quickstart
instructions.
Repository: incubator-beam-site
Updated Branches:
refs/heads/asf-site 59f789b97 -> a4eb4de53
[BEAM-900] Spark quickstart instructions.
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/commit/a5dacb95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/tree/a5dacb95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/diff/a5dacb95
Branch: refs/heads/asf-site
Commit: a5dacb95d5d8dff7718a52f1a05055702742b860
Parents: 59f789b
Author: Sela <an...@paypal.com>
Authored: Sat Dec 10 22:43:49 2016 +0200
Committer: Davor Bonaci <da...@google.com>
Committed: Sat Dec 10 13:19:50 2016 -0800
----------------------------------------------------------------------
src/get-started/quickstart.md | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/a5dacb95/src/get-started/quickstart.md
----------------------------------------------------------------------
diff --git a/src/get-started/quickstart.md b/src/get-started/quickstart.md
index 8c1d5e9..76777b0 100644
--- a/src/get-started/quickstart.md
+++ b/src/get-started/quickstart.md
@@ -42,7 +42,7 @@ $ mvn archetype:generate \
This will create a directory `word-count-beam` that contains a simple `pom.xml` and a series of example pipelines that count words in text files.
```
-$ cd beam-word-count/
+$ cd word-count-beam/
$ ls
pom.xml src
@@ -97,7 +97,8 @@ You can monitor the running job by visiting the Flink dashboard at http://<flink
{:.runner-spark}
```
-TODO BEAM-900
+$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
+ -Dexec.args="--runner=SparkRunner --inputFile=pom.xml --output=counts" -Pspark-runner
```
{:.runner-dataflow}
@@ -134,7 +135,7 @@ $ ls /tmp/counts*
{:.runner-spark}
```
-TODO BEAM-900
+$ ls counts*
```
@@ -197,7 +198,16 @@ Foundation: 1
{:.runner-spark}
```
-TODO BEAM-900
+$ more counts*
+beam: 27
+SF: 1
+fat: 1
+job: 1
+limitations: 1
+require: 1
+of: 11
+profile: 10
+...
```
{:.runner-dataflow}
[2/3] incubator-beam-site git commit: Regenerate website
Posted by da...@apache.org.
Regenerate website
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/commit/2245a27d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/tree/2245a27d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/diff/2245a27d
Branch: refs/heads/asf-site
Commit: 2245a27d028c967ada0c8b22d0ebf20d2acb8d62
Parents: a5dacb9
Author: Davor Bonaci <da...@google.com>
Authored: Sat Dec 10 13:20:58 2016 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Sat Dec 10 13:20:58 2016 -0800
----------------------------------------------------------------------
content/get-started/quickstart/index.html | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/2245a27d/content/get-started/quickstart/index.html
----------------------------------------------------------------------
diff --git a/content/get-started/quickstart/index.html b/content/get-started/quickstart/index.html
index 36bf203..cc5e1ed 100644
--- a/content/get-started/quickstart/index.html
+++ b/content/get-started/quickstart/index.html
@@ -186,7 +186,7 @@
<p>This will create a directory <code class="highlighter-rouge">word-count-beam</code> that contains a simple <code class="highlighter-rouge">pom.xml</code> and a series of example pipelines that count words in text files.</p>
-<div class="highlighter-rouge"><pre class="highlight"><code>$ cd beam-word-count/
+<div class="highlighter-rouge"><pre class="highlight"><code>$ cd word-count-beam/
$ ls
pom.xml src
@@ -240,7 +240,8 @@ You can monitor the running job by visiting the Flink dashboard at http://<fl
</code></pre>
</div>
-<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>TODO BEAM-900
+<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
+ -Dexec.args="--runner=SparkRunner --inputFile=pom.xml --output=counts" -Pspark-runner
</code></pre>
</div>
@@ -270,7 +271,7 @@ You can monitor the running job by visiting the Flink dashboard at http://<fl
</code></pre>
</div>
-<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>TODO BEAM-900
+<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>$ ls counts*
</code></pre>
</div>
@@ -326,7 +327,16 @@ Foundation: 1
</code></pre>
</div>
-<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>TODO BEAM-900
+<div class="runner-spark highlighter-rouge"><pre class="highlight"><code>$ more counts*
+beam: 27
+SF: 1
+fat: 1
+job: 1
+limitations: 1
+require: 1
+of: 11
+profile: 10
+...
</code></pre>
</div>
[3/3] incubator-beam-site git commit: This closes #106
Posted by da...@apache.org.
This closes #106
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/commit/a4eb4de5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/tree/a4eb4de5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/diff/a4eb4de5
Branch: refs/heads/asf-site
Commit: a4eb4de53aa572569a0ee7188c333f76b351f9be
Parents: 59f789b 2245a27
Author: Davor Bonaci <da...@google.com>
Authored: Sat Dec 10 13:20:58 2016 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Sat Dec 10 13:20:58 2016 -0800
----------------------------------------------------------------------
content/get-started/quickstart/index.html | 18 ++++++++++++++----
src/get-started/quickstart.md | 18 ++++++++++++++----
2 files changed, 28 insertions(+), 8 deletions(-)
----------------------------------------------------------------------