bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject bookkeeper git commit: BOOKKEEPER-893: explicitly call bk shutdown to set the exit code
Date Tue, 09 Feb 2016 07:37:04 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master d96a2db91 -> 63395a3e3


BOOKKEEPER-893: explicitly call bk shutdown to set the exit code

Author: Siddharth Boobna <sboobna@yahoo-inc.com>

Reviewers: Sijie Guo <sijie@apache.org>

Closes #14 from sid825/BOOKKEEPER-893


Project: http://git-wip-us.apache.org/repos/asf/bookkeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/bookkeeper/commit/63395a3e
Tree: http://git-wip-us.apache.org/repos/asf/bookkeeper/tree/63395a3e
Diff: http://git-wip-us.apache.org/repos/asf/bookkeeper/diff/63395a3e

Branch: refs/heads/master
Commit: 63395a3e3d9bb253ea2745042631e44a3d195ea0
Parents: d96a2db
Author: Siddharth Boobna <sboobna@yahoo-inc.com>
Authored: Mon Feb 8 23:37:03 2016 -0800
Committer: Sijie Guo <sijie@apache.org>
Committed: Mon Feb 8 23:37:03 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/bookkeeper/proto/BookieServer.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/63395a3e/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java
----------------------------------------------------------------------
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java
index 8e8349a..637587f 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java
@@ -397,6 +397,7 @@ public class BookieServer {
 
             statsProvider.stop();
             LOG.info("Stop stats provider");
+            bs.shutdown();
             System.exit(bs.getExitCode());
         } catch (Exception e) {
             LOG.error("Exception running bookie server : ", e);


Mime
View raw message