You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by ji...@apache.org on 2014/10/10 06:33:42 UTC
[36/43] git commit: TAJO-1106: Missing session check in
getFinishedQuery API. (Yongjun Park via hyunsik)
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/index_support
Commit: 0adc754d9c020abb4811eb4c0f70022460be7a79
Parents: d94727f
Author: Hyunsik Choi <hy...@apache.org>
Authored: Wed Oct 8 09:49:30 2014 -0700
Committer: Hyunsik Choi <hy...@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();