tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blrun...@apache.org
Subject tajo git commit: TAJO-1978: Printout message before terminating TSQL.
Date Mon, 16 Nov 2015 09:51:42 GMT
Repository: tajo
Updated Branches:
  refs/heads/master 011fcd922 -> 74bde9c64


TAJO-1978: Printout message before terminating TSQL.

Closes #861

Signed-off-by: JaeHwa Jung <blrunner@apache.org>


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

Branch: refs/heads/master
Commit: 74bde9c640053ebcd212a987310d5dd172a0f776
Parents: 011fcd9
Author: Dongkyu Hwangbo <hwangbodk@gmail.com>
Authored: Mon Nov 16 18:49:10 2015 +0900
Committer: JaeHwa Jung <blrunner@apache.org>
Committed: Mon Nov 16 18:49:10 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/74bde9c6/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 98a780e..09801ae 100644
--- a/CHANGES
+++ b/CHANGES
@@ -33,6 +33,9 @@ Release 0.12.0 - 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-1882: Clean up GreedyHeuristicJoinOrderAlgorithm::getCost APIs. (jihoon)

http://git-wip-us.apache.org/repos/asf/tajo/blob/74bde9c6/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);
   }
 


Mime
View raw message