beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] incubator-beam git commit: Deprecate TeardownPolicy for Dataflow service
Date Tue, 20 Sep 2016 00:22:44 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 62c56c99b -> 9c8e19c1c


Deprecate TeardownPolicy for Dataflow service

We are moving towards supporting only TEARDOWN_ALWAYS.


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

Branch: refs/heads/master
Commit: 7509308c7eca146f94463fd3c6adc9e9b84c4ac2
Parents: 62c56c9
Author: Eugene Kirpichov <kirpichov@google.com>
Authored: Mon Sep 19 15:12:51 2016 -0700
Committer: Eugene Kirpichov <kirpichov@google.com>
Committed: Mon Sep 19 15:12:51 2016 -0700

----------------------------------------------------------------------
 .../dataflow/options/DataflowPipelineWorkerPoolOptions.java       | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/7509308c/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java
----------------------------------------------------------------------
diff --git a/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java
b/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java
index 6c59f38..7d043c3 100644
--- a/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java
+++ b/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineWorkerPoolOptions.java
@@ -192,7 +192,10 @@ public interface DataflowPipelineWorkerPoolOptions extends PipelineOptions
{
 
   /**
    * The policy for tearing down the workers spun up by the service.
+   *
+   * @deprecated Dataflow Service will only support TEARDOWN_ALWAYS policy in the future.
    */
+  @Deprecated
   public enum TeardownPolicy {
     /**
      * All VMs created for a Dataflow job are deleted when the job finishes, regardless of
whether


Mime
View raw message