hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject hive git commit: HIVE-12660 : addendum for branch-1
Date Mon, 11 Jan 2016 21:21:35 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1.0 a7a96afb9 -> 9bf229d8c


HIVE-12660 : addendum for branch-1


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/9bf229d8
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/9bf229d8
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/9bf229d8

Branch: refs/heads/branch-1.0
Commit: 9bf229d8c6112c0b88252dd5454525301fa14ceb
Parents: a7a96af
Author: Thejas Nair <thejas@hortonworks.com>
Authored: Mon Jan 11 13:21:27 2016 -0800
Committer: Thejas Nair <thejas@hortonworks.com>
Committed: Mon Jan 11 13:21:27 2016 -0800

----------------------------------------------------------------------
 .../apache/hive/service/cli/operation/OperationManager.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9bf229d8/service/src/java/org/apache/hive/service/cli/operation/OperationManager.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/cli/operation/OperationManager.java
b/service/src/java/org/apache/hive/service/cli/operation/OperationManager.java
index 76be713..4ef1164 100644
--- a/service/src/java/org/apache/hive/service/cli/operation/OperationManager.java
+++ b/service/src/java/org/apache/hive/service/cli/operation/OperationManager.java
@@ -19,6 +19,8 @@
 package org.apache.hive.service.cli.operation;
 
 import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
 import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.List;
@@ -279,6 +281,10 @@ public class OperationManager extends AbstractService {
     return schema;
   }
 
+  public Collection<Operation> getOperations() {
+    return Collections.unmodifiableCollection(handleToOperation.values());
+  }
+
   public OperationLog getOperationLogByThread() {
     return OperationLog.getCurrentOperationLog();
   }


Mime
View raw message