tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gop...@apache.org
Subject tez git commit: TEZ-3953: Restore ABI-compat for DAGClient for TEZ-3951 (Sergey Shelukhin via Gopal V)
Date Mon, 11 Jun 2018 23:24:45 GMT
Repository: tez
Updated Branches:
  refs/heads/master a0ea6e122 -> 3f2373e2b


TEZ-3953: Restore ABI-compat for DAGClient for TEZ-3951 (Sergey Shelukhin via Gopal V)

Signed-off-by: Gopal V <gopalv@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/3f2373e2
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/3f2373e2
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/3f2373e2

Branch: refs/heads/master
Commit: 3f2373e2b2ab3825ef50e9f19b8704265542a8b2
Parents: a0ea6e1
Author: Sergey Shelukhin <sershe@apache.org>
Authored: Mon Jun 11 16:17:06 2018 -0700
Committer: Gopal V <gopalv@apache.org>
Committed: Mon Jun 11 16:18:37 2018 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/tez/dag/api/client/DAGClient.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/3f2373e2/tez-api/src/main/java/org/apache/tez/dag/api/client/DAGClient.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/client/DAGClient.java b/tez-api/src/main/java/org/apache/tez/dag/api/client/DAGClient.java
index 6c0ebbd..ec20ef1 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/client/DAGClient.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/client/DAGClient.java
@@ -121,7 +121,10 @@ public abstract class DAGClient implements Closeable {
    * @throws TezException
    * @throws InterruptedException
    */
-  public abstract DAGStatus waitForCompletion(long timeMs) throws IOException, TezException,
InterruptedException;
+  public DAGStatus waitForCompletion(long timeMs) throws IOException, TezException, InterruptedException
{
+    // Make non-abstract to avoid compat issues in Hive.
+    throw new UnsupportedOperationException();
+  }
 
   /**
    * Wait for DAG to complete and periodically print *all* vertices' status.


Mime
View raw message