tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject git commit: TAJO-1106: Missing session check in getFinishedQuery API. (Yongjun Park via hyunsik)
Date Wed, 08 Oct 2014 16:51:02 GMT
Repository: tajo
Updated Branches:
  refs/heads/master d94727f89 -> 0adc754d9


TAJO-1106: Missing session check in getFinishedQuery API. (Yongjun Park via hyunsik)

Closes #190


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/0adc754d
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/0adc754d
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/0adc754d

Branch: refs/heads/master
Commit: 0adc754d9c020abb4811eb4c0f70022460be7a79
Parents: d94727f
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Wed Oct 8 09:49:30 2014 -0700
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Wed Oct 8 09:49:30 2014 -0700

----------------------------------------------------------------------
 CHANGES                                                          | 3 +++
 tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/0adc754d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 5075602..23a6398 100644
--- a/CHANGES
+++ b/CHANGES
@@ -163,6 +163,9 @@ Release 0.9.0 - unreleased
 
   BUG FIXES
 
+    TAJO-1106: Missing session check in getFinishedQuery API. 
+    (Yongjun Park via hyunsik)
+
     TAJO-1021: Remove the member variable Builder from all classes inherited 
     from ProtoObject. (hyunsik)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/0adc754d/tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java
----------------------------------------------------------------------
diff --git a/tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java b/tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java
index 2288851..82bd855 100644
--- a/tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java
+++ b/tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java
@@ -909,6 +909,7 @@ public class TajoClient implements Closeable {
     return new ServerCallable<List<BriefQueryInfo>>(connPool, getTajoMasterAddr(),
         TajoMasterClientProtocol.class, false, true) {
       public List<BriefQueryInfo> call(NettyClientBase client) throws ServiceException
{
+        checkSessionAndGet(client);
         TajoMasterClientProtocolService.BlockingInterface tajoMasterService = client.getStub();
 
         GetQueryListRequest.Builder builder = GetQueryListRequest.newBuilder();


Mime
View raw message