You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by me...@apache.org on 2017/09/29 09:18:47 UTC

[beam-site] branch mergebot updated (7a1740b -> d4c475c)

This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a change to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git.


    from 7a1740b  This closes #326
     add ec964fa  Prepare repository for deployment.
     new 2cf192c  [BEAM-2666] Add JStorm runner to Beam asf-site.
     new d4c475c  This closes #315

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../capability/2016/03/17/capability-matrix.html   |   1 +
 .../2016/04/03/presentation-materials.html         |   1 +
 .../sdk/2016/02/25/python-sdk-now-public.html      |   1 +
 content/beam/release/2016/06/15/first-release.html |   1 +
 .../2016/10/11/strata-hadoop-world-and-beam.html   |   1 +
 .../update/website/2016/02/22/beam-has-a-logo.html |   1 +
 .../blog/2016/05/18/splitAtFraction-method.html    |   1 +
 .../05/27/where-is-my-pcollection-dot-map.html     |   1 +
 .../2016/06/13/flink-batch-runner-milestone.html   |   1 +
 content/blog/2016/08/03/six-months.html            |   1 +
 content/blog/2016/10/20/test-stream.html           |   1 +
 content/blog/2017/01/09/added-apex-runner.html     |   1 +
 content/blog/2017/01/10/beam-graduates.html        |   1 +
 .../blog/2017/02/01/graduation-media-recap.html    |   1 +
 content/blog/2017/02/13/stateful-processing.html   |   1 +
 content/blog/2017/03/16/python-sdk-release.html    |   1 +
 .../blog/2017/05/17/beam-first-stable-release.html |   1 +
 content/blog/2017/08/16/splittable-do-fn.html      |   1 +
 content/blog/2017/08/28/timely-processing.html     |   1 +
 content/blog/index.html                            |   1 +
 content/coming-soon.html                           |   1 +
 content/contribute/contribution-guide/index.html   |   1 +
 content/contribute/design-principles/index.html    |   1 +
 content/contribute/docker-images/index.html        |   1 +
 content/contribute/index.html                      |   1 +
 content/contribute/logos/index.html                |   1 +
 content/contribute/maturity-model/index.html       |   1 +
 .../contribute/presentation-materials/index.html   |   1 +
 .../contribute/ptransform-style-guide/index.html   |   1 +
 content/contribute/release-guide/index.html        |   1 +
 content/contribute/runner-guide/index.html         |   1 +
 content/contribute/source-repository/index.html    |   1 +
 content/contribute/team/index.html                 |   1 +
 content/contribute/testing/index.html              |   1 +
 content/contribute/work-in-progress/index.html     |   1 +
 content/documentation/dsls/sql/index.html          |   1 +
 content/documentation/index.html                   |   2 +
 content/documentation/io/authoring-java/index.html |   1 +
 .../documentation/io/authoring-overview/index.html |   1 +
 .../documentation/io/authoring-python/index.html   |   1 +
 .../documentation/io/built-in/hadoop/index.html    |   1 +
 content/documentation/io/built-in/index.html       |   1 +
 content/documentation/io/contributing/index.html   |   1 +
 content/documentation/io/io-toc/index.html         |   1 +
 content/documentation/io/testing/index.html        |   1 +
 .../pipelines/create-your-pipeline/index.html      |   1 +
 .../pipelines/design-your-pipeline/index.html      |   1 +
 .../pipelines/test-your-pipeline/index.html        |   1 +
 content/documentation/programming-guide/index.html |   1 +
 content/documentation/resources/index.html         |   1 +
 content/documentation/runners/apex/index.html      |   1 +
 .../runners/capability-matrix/index.html           |   1 +
 content/documentation/runners/dataflow/index.html  |   1 +
 content/documentation/runners/direct/index.html    |   1 +
 content/documentation/runners/flink/index.html     |   1 +
 content/documentation/runners/gearpump/index.html  |   1 +
 content/documentation/runners/spark/index.html     |   1 +
 .../documentation/sdks/java-extensions/index.html  |   1 +
 content/documentation/sdks/java/index.html         |   1 +
 .../documentation/sdks/python-custom-io/index.html |   1 +
 .../sdks/python-pipeline-dependencies/index.html   |   1 +
 .../sdks/python-type-safety/index.html             |   1 +
 content/documentation/sdks/python/index.html       |   1 +
 content/get-started/beam-overview/index.html       |   1 +
 content/get-started/downloads/index.html           |   1 +
 content/get-started/index.html                     |   1 +
 .../get-started/mobile-gaming-example/index.html   |   1 +
 content/get-started/quickstart-java/index.html     |   1 +
 content/get-started/quickstart-py/index.html       |   1 +
 content/get-started/support/index.html             |   1 +
 content/get-started/wordcount-example/index.html   |   1 +
 content/index.html                                 |   1 +
 content/privacy_policy/index.html                  |   1 +
 src/_data/capability-matrix.yml                    | 114 +++++++++++++++++++++
 src/contribute/work-in-progress.md                 |   2 +-
 src/documentation/runners/jstorm.md                | 101 ++++++++++++++++++
 src/images/logos/runners/jstorm.png                | Bin 0 -> 6375 bytes
 77 files changed, 290 insertions(+), 1 deletion(-)
 create mode 100644 src/documentation/runners/jstorm.md
 create mode 100644 src/images/logos/runners/jstorm.png

-- 
To stop receiving notification emails like this one, please contact
['"commits@beam.apache.org" <co...@beam.apache.org>'].

[beam-site] 01/02: [BEAM-2666] Add JStorm runner to Beam asf-site.

Posted by me...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit 2cf192c9cd2c8642a3367f0150d860740ede5258
Author: basti.lj <ba...@alibaba-inc.com>
AuthorDate: Tue Aug 29 12:34:29 2017 +0800

    [BEAM-2666] Add JStorm runner to Beam asf-site.
---
 src/_data/capability-matrix.yml     | 114 ++++++++++++++++++++++++++++++++++++
 src/contribute/work-in-progress.md  |   2 +-
 src/documentation/runners/jstorm.md | 101 ++++++++++++++++++++++++++++++++
 src/images/logos/runners/jstorm.png | Bin 0 -> 6375 bytes
 4 files changed, 216 insertions(+), 1 deletion(-)

diff --git a/src/_data/capability-matrix.yml b/src/_data/capability-matrix.yml
index b0ea35a..95aaaa9 100644
--- a/src/_data/capability-matrix.yml
+++ b/src/_data/capability-matrix.yml
@@ -13,6 +13,8 @@ columns:
     name: Apache Gearpump
   - class: mapreduce
     name: Apache Hadoop MapReduce
+  - class: jstorm
+    name: JStorm
 
 categories:
   - description: What is being computed?
@@ -52,6 +54,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
       - name: GroupByKey
         values:
           - class: model
@@ -82,6 +88,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
       - name: Flatten
         values:
           - class: model
@@ -112,6 +122,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''            
       - name: Combine
         values:
           - class: model
@@ -142,6 +156,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''            
       - name: Composite Transforms
         values:
           - class: model
@@ -172,6 +190,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''            
       - name: Side Inputs
         values:
           - class: model
@@ -202,6 +224,10 @@ categories:
             l1: 'Yes'
             l2: fully supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: some size restrictions
+            l3: ''            
       - name: Source API
         values:
           - class: model
@@ -232,6 +258,10 @@ categories:
             l1: 'Partially'
             l2: bounded source only
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
       - name: Splittable DoFn
         values:
           - class: model
@@ -262,6 +292,10 @@ categories:
             l1: 'No'
             l2: not implemented
             l3:
+          - class: jstorm
+            l1: 'No'
+            l2: not implemented
+            l3:
       - name: Metrics
         values:
           - class: model
@@ -292,6 +326,10 @@ categories:
             l1: 'Partially'
             l2: Only attempted counters are supported
             l3: ''
+          - class: jstorm
+            l1: 'Partially'
+            l2: Metrics are only supported in local mode.
+            l3: ''
       - name: Stateful Processing
         values:
           - class: model
@@ -322,6 +360,10 @@ categories:
             l1: 'Partially'
             l2: non-merging windows
             l3: ''
+          - class: jstorm
+            l1: 'Partially'
+            l2: non-merging windows
+            l3: ''
   - description: Where in event time?
     anchor: where
     color-b: '37d'
@@ -359,6 +401,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Fixed windows
         values:
           - class: model
@@ -389,6 +435,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Sliding windows
         values:
           - class: model
@@ -419,6 +469,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Session windows
         values:
           - class: model
@@ -449,6 +503,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Custom windows
         values:
           - class: model
@@ -479,6 +537,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Custom merging windows
         values:
           - class: model
@@ -509,6 +571,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
       - name: Timestamp control
         values:
           - class: model
@@ -539,6 +605,10 @@ categories:
             l1: 'Yes'
             l2: supported
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: supported
+            l3: ''
 
 
   - description: When in processing time?
@@ -579,6 +649,10 @@ categories:
             l1: 'No'
             l2: batch-only runner
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Event-time triggers
         values:
@@ -610,6 +684,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Processing-time triggers
         values:
@@ -641,6 +719,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Count triggers
         values:
@@ -672,6 +754,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: '[Meta]data driven triggers'
         values:
@@ -704,6 +790,10 @@ categories:
             l1: 'No'
             l2: ''
             l3:
+          - class: jstorm
+            l1: 'No'
+            l2: pending model support
+            l3:
 
       - name: Composite triggers
         values:
@@ -735,6 +825,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Allowed lateness
         values:
@@ -766,6 +860,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Timers
         values:
@@ -797,6 +895,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Partially'
+            l2: non-merging windows
+            l3: ''
 
   - description: How do refinements relate?
     anchor: how
@@ -836,6 +938,10 @@ categories:
             l1: 'No'
             l2: batch-only runner
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: Accumulating
         values:
@@ -867,6 +973,10 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'Yes'
+            l2: fully supported
+            l3: ''
 
       - name: 'Accumulating &amp; Retracting'
         values:
@@ -899,3 +1009,7 @@ categories:
             l1: 'No'
             l2: ''
             l3: ''
+          - class: jstorm
+            l1: 'No'
+            l2: pending model support
+            l3: ''
diff --git a/src/contribute/work-in-progress.md b/src/contribute/work-in-progress.md
index e35965b..a2572af 100644
--- a/src/contribute/work-in-progress.md
+++ b/src/contribute/work-in-progress.md
@@ -25,7 +25,7 @@ Current branches include:
 | Feature | Branch | JIRA Component | More Info |
 | ---- | ---- | ---- | ---- |
 | Apache Spark 2.0 Runner | [runners-spark2](https://github.com/apache/beam/tree/runners-spark2) | - | [thread](https://lists.apache.org/thread.html/e38ac4e4914a6cb1b865b1f32a6ca06c2be28ea4aa0f6b18393de66f@%3Cdev.beam.apache.org%3E) |
-| JStorm Runner | [jstorm-runner](https://github.com/apache/beam/tree/jstorm-runner) | [runner-jstorm](https://issues.apache.org/jira/browse/BEAM/component/12332477) | [BEAM-1899](https://issues.apache.org/jira/browse/BEAM-1899) |
+| [JStorm Runner]({{ site.baseurl }}/documentation/runners/jstorm) | [jstorm-runner](https://github.com/apache/beam/tree/jstorm-runner) | [runner-jstorm](https://issues.apache.org/jira/browse/BEAM/component/12332477) | [BEAM-1899](https://issues.apache.org/jira/browse/BEAM-1899) |
 | MapReduce Runner | [mr-runner](https://github.com/apache/beam/tree/mr-runner) | [runner-mapreduce](https://issues.apache.org/jira/browse/BEAM/component/12333013) | [BEAM-165](https://issues.apache.org/jira/browse/BEAM-165) |
 | Tez Runner | [tez-runner](https://github.com/apache/beam/tree/tez-runner) | [runner-tez](https://issues.apache.org/jira/browse/BEAM/component/12333014) | [BEAM-2709](https://issues.apache.org/jira/browse/BEAM-2709) |
 | Beam SQL DSL | [DSL_SQL](https://github.com/apache/beam/tree/DSL_SQL) | [dsl-sql](https://issues.apache.org/jira/browse/BEAM/component/12332480) | [BEAM-301](https://issues.apache.org/jira/browse/BEAM-301) |
diff --git a/src/documentation/runners/jstorm.md b/src/documentation/runners/jstorm.md
new file mode 100644
index 0000000..20e9322
--- /dev/null
+++ b/src/documentation/runners/jstorm.md
@@ -0,0 +1,101 @@
+---
+layout: default
+title: "JStorm Runner"
+permalink: /documentation/runners/jstorm/
+---
+# Using the JStorm Runner
+
+The JStorm Runner can be used to execute Beam pipelines using [JStorm](http://jstorm.io/), while providing:
+
+* High throughput and low latency.
+* At-least-once and exactly-once fault tolerance.
+
+Like a native JStorm topology, users can execute Beam topology with local mode, standalone cluster or jstorm-on-yarn cluster.
+
+The [Beam Capability Matrix]({{ site.baseurl }}/documentation/runners/capability-matrix/) documents the currently supported capabilities of the JStorm Runner.
+
+## JStorm Runner prerequisites and setup
+
+The JStorm runner currently supports JStorm version 2.5.0-SNAPSHOT.
+
+You can add a dependency on the latest version of the JStorm runner by adding the following to your pom.xml:
+```java
+<dependency>
+  <groupId>org.apache.beam</groupId>
+  <artifactId>beam-runners-jstorm</artifactId>
+  <version>{{ site.release_latest }}</version>
+</dependency>
+```
+
+### Deploying JStorm with your application
+
+To run against a Standalone cluster, you can package your program with all Beam dependencies into a fat jar, and then submit the topology with the following command.
+```
+jstorm jar WordCount.jar org.apache.beam.examples.WordCount --runner=org.apache.beam.runners.jstorm.JStormRunner
+```
+
+If you don't want to package a fat jar, you can upload the Beam dependencies onto all cluster nodes(`$JSTORM_HOME/lib/ext/beam`) first.
+When you submit a topology with argument `"--external-libs beam"`, JStorm will load the Beam dependencies automatically.
+```
+jstorm jar WordCount.jar org.apache.beam.examples.WordCount --external-libs beam  --runner=org.apache.beam.runners.jstorm.JStormRunner
+```
+
+To learn about deploying a JStorm cluster, please refer to [JStorm cluster deploy](http://jstorm.io/QuickStart/Deploy/index.html)
+
+## Pipeline options for the JStorm Runner
+
+When executing your pipeline with the JStorm Runner, you should consider the following pipeline options.
+
+<table class="table table-bordered">
+<tr>
+  <th>Field</th>
+  <th>Description</th>
+  <th>Default Value</th>
+</tr>
+<tr>
+  <td><code>runner</code></td>
+  <td>The pipeline runner to use. This option allows you to determine the pipeline runner at runtime.</td>
+  <td>Set to <code>JStormRunner</code> to run using JStorm.</td>
+</tr>
+<tr>
+  <td><code>topologyConfig</code></td>
+  <td>System topology config of JStorm</td>
+  <td>DefaultMapValueFactory.class</td>
+</tr>
+<tr>
+  <td><code>workerNumber</code></td>
+  <td>Worker number of topology</td>
+  <td>1</td>
+</tr>
+<tr>
+  <td><code>parallelism</code></td>
+  <td>Global parallelism number of a component</td>
+  <td>1</td>
+</tr>
+<tr>
+  <td><code>parallelismMap</code></td>
+  <td>Parallelism number of a specified composite PTransform</td>
+  <td>DefaultMapValueFactory.class</td>
+</tr>
+<tr>
+  <td><code>exactlyOnceTopology</code></td>
+  <td>Indicate if it is an exactly once topology</td>
+  <td>false</td>
+</tr>
+<tr>
+  <td><code>localMode</code></td>
+  <td>Indicate if the topology is running on local machine or distributed cluster</td>
+  <td>false</td>
+</tr>
+<tr>
+  <td><code>localModeExecuteTimeSec</code></td>
+  <td>Executing time(sec) of topology on local mode.</td>
+  <td>60</td>
+</tr>
+</table>
+
+## Additional notes
+
+### Monitoring your job
+You can monitor your job with the JStorm UI, which displays all JStorm system metrics and Beam metrics.
+For testing on local mode, you can retreive the Beam metrics with the metrics method of PipelineResult.
diff --git a/src/images/logos/runners/jstorm.png b/src/images/logos/runners/jstorm.png
new file mode 100644
index 0000000..c0435db
Binary files /dev/null and b/src/images/logos/runners/jstorm.png differ

-- 
To stop receiving notification emails like this one, please contact
"commits@beam.apache.org" <co...@beam.apache.org>.

[beam-site] 02/02: This closes #315

Posted by me...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit d4c475cbb8ab6ad2b50e08678d913400c6fd01bf
Merge: ec964fa 2cf192c
Author: Mergebot <me...@apache.org>
AuthorDate: Fri Sep 29 09:18:30 2017 +0000

    This closes #315

 src/_data/capability-matrix.yml     | 114 ++++++++++++++++++++++++++++++++++++
 src/contribute/work-in-progress.md  |   2 +-
 src/documentation/runners/jstorm.md | 101 ++++++++++++++++++++++++++++++++
 src/images/logos/runners/jstorm.png | Bin 0 -> 6375 bytes
 4 files changed, 216 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
"commits@beam.apache.org" <co...@beam.apache.org>.