Skip to content

Commit f612190

Browse files
authored
Runner support status for Beam 3 (#35908)
* Deprecate Samza runner * Deprecate Twister2 runner * Remove twister2 runner test from validation task and consolidate validation task * Note nomi runner as retired in website
1 parent 6910486 commit f612190

File tree

10 files changed

+27
-5
lines changed

10 files changed

+27
-5
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
* X behavior is deprecated and will be removed in X versions ([#X](https://github.com/apache/beam/issues/X)).
9393
* Python SDK native SpannerIO (apache_beam/io/gcp/experimental/spannerio) is deprecated. Use cross-language wrapper
9494
(apache_beam/io/gcp/spanner) instead (Python) ([#35860](https://github.com/apache/beam/issues/35860)).
95+
* Samza runner is deprecated and scheduled for removal in Beam 3.0 ([#35448](https://github.com/apache/beam/issues/35448)).
96+
* Twister2 runner is deprecated and scheduled for removal in Beam 3.0 ([#35905](https://github.com/apache/beam/issues/35905))).
9597

9698
## Bugfixes
9799

release/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ task("runJavaExamplesValidationTask") {
4141
dependsOn(":runners:spark:3:runQuickstartJavaSpark")
4242
dependsOn(":runners:flink:1.19:runQuickstartJavaFlinkLocal")
4343
dependsOn(":runners:direct-java:runMobileGamingJavaDirect")
44-
dependsOn(":runners:google-cloud-dataflow-java:runMobileGamingJavaDataflow")
45-
dependsOn(":runners:twister2:runQuickstartJavaTwister2")
44+
if (project.hasProperty("ver") || !project.version.toString().endsWith("SNAPSHOT")) {
45+
// only run one variant of MobileGaming on Dataflow for nightly
46+
dependsOn(":runners:google-cloud-dataflow-java:runMobileGamingJavaDataflow")
47+
}
4648
dependsOn(":runners:google-cloud-dataflow-java:runMobileGamingJavaDataflowBom")
4749
}

runners/samza/src/main/java/org/apache/beam/runners/samza/SamzaRunner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@
5959
/**
6060
* A {@link PipelineRunner} that executes the operations in the {@link Pipeline} into an equivalent
6161
* Samza plan.
62+
*
63+
* @deprecated The support for Samza is scheduled for removal in Beam 3.0.
6264
*/
6365
@SuppressWarnings({
6466
"nullness" // TODO(https://github.com/apache/beam/issues/20497)
6567
})
68+
@Deprecated
6669
public class SamzaRunner extends PipelineRunner<SamzaPipelineResult> {
6770
private static final Logger LOG = LoggerFactory.getLogger(SamzaRunner.class);
6871
private static final String BEAM_DOT_GRAPH = "beamDotGraph";

runners/twister2/src/main/java/org/apache/beam/runners/twister2/Twister2Runner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@
6161
* A {@link PipelineRunner} that executes the operations in the pipeline by first translating them
6262
* to a Twister2 Plan and then executing them either locally or on a Twister2 cluster, depending on
6363
* the configuration.
64+
*
65+
* @deprecated The support for twister2 is scheduled for removal in Beam 3.0.
6466
*/
6567
@SuppressWarnings({
6668
"rawtypes", // TODO(https://github.com/apache/beam/issues/20447)
6769
"nullness" // TODO(https://github.com/apache/beam/issues/20497)
6870
})
71+
@Deprecated
6972
public class Twister2Runner extends PipelineRunner<PipelineResult> {
7073

7174
private static final Logger LOG = Logger.getLogger(Twister2Runner.class.getName());

website/www/site/content/en/documentation/runners/nemo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ limitations under the License.
1818
-->
1919
# Using the Apache Nemo Runner
2020

21+
**Note** Apache Nemo has been retired from incubation ([status](https://incubator.apache.org/projects/index.html#nemo)).
22+
2123
The Apache Nemo Runner can be used to execute Beam pipelines using [Apache Nemo](https://nemo.apache.org).
2224
The Nemo Runner can optimize Beam pipelines with the Nemo compiler through various optimization passes
2325
and execute them in a distributed fashion using the Nemo runtime. You can also deploy a self-contained application

website/www/site/content/en/documentation/runners/samza.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ limitations under the License.
1919

2020
# Using the Apache Samza Runner
2121

22+
**Note** Samza runner is deprecated and the support is planned to be removed in Beam 3.0 ([Issue](https://github.com/apache/beam/issues/35448)).
23+
2224
The Apache Samza Runner can be used to execute Beam pipelines using [Apache Samza](https://samza.apache.org/). The Samza Runner executes Beam pipeline in a Samza application and can run locally. The application can further be built into a .tgz file, and deployed to a YARN cluster or Samza standalone cluster with Zookeeper.
2325

2426
The Samza Runner and Samza are suitable for large scale, stateful streaming jobs, and provide:

website/www/site/content/en/documentation/runners/twister2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ limitations under the License.
2020

2121
## Overview
2222

23+
**Note** Twister2 runner is deprecated and the support is planned to be removed in Beam 3.0 ([Issue](https://github.com/apache/beam/issues/35905)).
24+
2325
Twister2 Runner can be used to execute Apache Beam pipelines on top of a Twister2
2426
cluster. Twister2 Runner runs Beam pipelines as Twister2 jobs, which can be executed on
2527
a Twister2 cluster either as a local deployment or distributed deployment using, Nomad,

website/www/site/content/en/roadmap/nemo-runner.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ limitations under the License.
1717

1818
# Apache Nemo Runner Roadmap
1919

20-
This roadmap is in progress. In the meantime, here are available resources:
20+
**Note** Apache Nemo has been retired from incubation ([status](https://incubator.apache.org/projects/index.html#nemo)).
21+
22+
For references, here are available resources:
2123

2224
- [Runner documentation](/documentation/runners/nemo)
2325
- JIRA: [runner-nemo](https://issues.apache.org/jira/issues/?jql=project%20%3D%20BEAM%20AND%20component%20%3D%20runner-nemo) / [nemo-jira](https://issues.apache.org/jira/projects/NEMO/issues/filter=allopenissues)

website/www/site/content/en/roadmap/samza-runner.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ limitations under the License.
1717

1818
# Samza Runner Roadmap
1919

20-
This roadmap is in progress. In the meantime, here are available resources:
20+
**Note** Samza runner is deprecated and the support is planned to be removed in Beam 3.0 ([Issue](https://github.com/apache/beam/issues/35448)).
21+
22+
For references, here are available resources:
2123

2224
- [Runner documentation](/documentation/runners/samza)
2325
- Issues: [runner-samza](https://github.com/apache/beam/issues?q=is%3Aopen+is%3Aissue+label%3Arunner-samza)

website/www/site/content/en/roadmap/twister2-runner.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ limitations under the License.
1717

1818
# Twister2 Runner Roadmap
1919

20-
This roadmap is in progress. In the meantime, here are available resources:
20+
**Note** Twister2 runner is deprecated and the support is planned to be removed in Beam 3.0 ([Issue](https://github.com/apache/beam/issues/35905)).
21+
22+
For references, here are available resources:
2123

2224
- [Runner documentation](/documentation/runners/twister2)
2325
- Issues: [runner-twister2](https://github.com/apache/beam/issues?q=is%3Aopen+is%3Aissue+label%3Arunner-twister2)

0 commit comments

Comments
 (0)