Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.1 fc0d0e0f8 -> 6fb48eff3


TAJO-1978: Printout message before terminating TSQL.

Signed-off-by: JaeHwa Jung <[email protected]>


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

Branch: refs/heads/branch-0.11.1
Commit: 6fb48eff3cef856069a0be4b7dbaa079ca79b266
Parents: fc0d0e0
Author: Dongkyu Hwangbo <[email protected]>
Authored: Mon Nov 16 18:58:07 2015 +0900
Committer: JaeHwa Jung <[email protected]>
Committed: Mon Nov 16 18:58:07 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java  | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/6fb48eff/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 486d3fb..40d2269 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,9 @@ Release 0.11.1 - unreleased
 
   BUG FIXES
 
+    TAJO-1978: Printout message before terminating TSQL.
+    (Contributed by Dongkyu Hwangbo, committed by jaehwa)
+
     TAJO-1965: TestBlockingRpc::testServerShutdown occassionally fails. (jinho)
 
     TAJO-1972: Invalid sort order with NULLS FIRST|LAST. (jihoon)

http://git-wip-us.apache.org/repos/asf/tajo/blob/6fb48eff/tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java
----------------------------------------------------------------------
diff --git 
a/tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java 
b/tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java
index d882b2f..a9f0846 100644
--- a/tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java
+++ b/tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/ExitCommand.java
@@ -37,6 +37,7 @@ public class ExitCommand extends TajoShellCommand {
   @Override
   public void invoke(String[] cmd) throws Exception {
     context.getOutput().println("bye!");
+    context.getOutput().close();
     System.exit(0);
   }
 

Reply via email to