This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d7497b  ISSUE #561: Remove exec commands to start in the shell pid
7d7497b is described below

commit 7d7497b70507ea3d31b184ebe04d98c733e2cf5b
Author: Ali Ahmed <[email protected]>
AuthorDate: Tue Oct 17 09:26:37 2017 +0200

    ISSUE #561: Remove exec commands to start in the shell pid
    
    Author: Ali Ahmed <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>, Jia Zhai, Sijie Guo 
<[email protected]>
    
    This closes #557 from aahmed-se/master, closes #561
---
 bookkeeper-server/bin/bookkeeper | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bookkeeper-server/bin/bookkeeper b/bookkeeper-server/bin/bookkeeper
index 012e37f..260ebd6 100755
--- a/bookkeeper-server/bin/bookkeeper
+++ b/bookkeeper-server/bin/bookkeeper
@@ -203,21 +203,21 @@ OPTS="$OPTS -Dbookkeeper.log.file=$BOOKIE_LOG_FILE"
 #Change to BK_HOME to support relative paths
 cd "$BK_HOME"
 if [ $COMMAND == "bookie" ]; then
-  exec $JAVA $OPTS $JMX_ARGS org.apache.bookkeeper.server.Main --conf 
$BOOKIE_CONF $@
+  $JAVA $OPTS $JMX_ARGS org.apache.bookkeeper.server.Main --conf $BOOKIE_CONF 
$@
 elif [ $COMMAND == "autorecovery" ]; then
-  exec $JAVA $OPTS $JMX_ARGS 
org.apache.bookkeeper.replication.AutoRecoveryMain --conf $BOOKIE_CONF $@
+  $JAVA $OPTS $JMX_ARGS org.apache.bookkeeper.replication.AutoRecoveryMain 
--conf $BOOKIE_CONF $@
 elif [ $COMMAND == "localbookie" ]; then
   NUMBER=$1
   shift
-  exec $JAVA $OPTS $JMX_ARGS -Dzookeeper.4lw.commands.whitelist='*' 
org.apache.bookkeeper.util.LocalBookKeeper $NUMBER $BOOKIE_CONF $@
+  $JAVA $OPTS $JMX_ARGS -Dzookeeper.4lw.commands.whitelist='*' 
org.apache.bookkeeper.util.LocalBookKeeper $NUMBER $BOOKIE_CONF $@
 elif [ $COMMAND == "upgrade" ]; then
-  exec $JAVA $OPTS org.apache.bookkeeper.bookie.FileSystemUpgrade --conf 
$BOOKIE_CONF $@
+  $JAVA $OPTS org.apache.bookkeeper.bookie.FileSystemUpgrade --conf 
$BOOKIE_CONF $@
 elif [ $COMMAND == "shell" ]; then
   
ENTRY_FORMATTER_ARG="-DentryFormatterClass=${ENTRY_FORMATTER_CLASS:-org.apache.bookkeeper.util.StringEntryFormatter}"
-  exec $JAVA $OPTS $ENTRY_FORMATTER_ARG 
org.apache.bookkeeper.bookie.BookieShell -conf $BOOKIE_CONF $@
+  $JAVA $OPTS $ENTRY_FORMATTER_ARG org.apache.bookkeeper.bookie.BookieShell 
-conf $BOOKIE_CONF $@
 elif [ $COMMAND == "help" ]; then
   bookkeeper_help;
 else
-  exec $JAVA $OPTS $COMMAND $@
+  $JAVA $OPTS $COMMAND $@
 fi
 

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to