Repository: flink
Updated Branches:
  refs/heads/release-1.5 833b83b3c -> 471087a3e


[hotfix] Deprecate AbstractYarnClusterDescriptor#setDetachedMode and 
isDetachedMode


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/471087a3
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/471087a3
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/471087a3

Branch: refs/heads/release-1.5
Commit: 471087a3efe3d76252d5d0c4622347932b2e0ce9
Parents: 81e1e4c
Author: Till Rohrmann <trohrm...@apache.org>
Authored: Fri Apr 13 10:41:27 2018 -0700
Committer: Till Rohrmann <trohrm...@apache.org>
Committed: Fri Apr 13 12:17:57 2018 -0700

----------------------------------------------------------------------
 .../org/apache/flink/yarn/AbstractYarnClusterDescriptor.java | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/471087a3/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
----------------------------------------------------------------------
diff --git 
a/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
 
b/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
index 9d504d3..8538c1f 100644
--- 
a/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
+++ 
b/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
@@ -313,10 +313,18 @@ public abstract class AbstractYarnClusterDescriptor 
implements ClusterDescriptor
                return false;
        }
 
+       /**
+        * @deprecated The cluster descriptor should not know about this option.
+        */
+       @Deprecated
        public void setDetachedMode(boolean detachedMode) {
                this.detached = detachedMode;
        }
 
+       /**
+        * @deprecated The cluster descriptor should not know about this option.
+        */
+       @Deprecated
        public boolean isDetachedMode() {
                return detached;
        }

Reply via email to