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/block_iteration Commit: 0adc754d9c020abb4811eb4c0f70022460be7a79 Parents: d94727f Author: Hyunsik Choi <[email protected]> Authored: Wed Oct 8 09:49:30 2014 -0700 Committer: Hyunsik Choi <[email protected]> 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();
