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

zhaijia 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 d61cfab  ISSUE #252: Enable four-letter-words zookeeper commands in 
localbookie
d61cfab is described below

commit d61cfaba69cb0f87bc388889a58f2095f4034f30
Author: Sijie Guo <[email protected]>
AuthorDate: Tue Jul 18 16:34:47 2017 +0800

    ISSUE #252: Enable four-letter-words zookeeper commands in localbookie
    
    Descriptions of the changes in this PR:
    
    Enable four-letter-words zookeeper commands in localbookie
    
    Author: Sijie Guo <[email protected]>
    
    Reviewers: Enrico Olivelli <None>, Jia Zhai <None>, Matteo Merli <None>
    
    This closes #253 from sijie/fix_4letters_issue, closes #252
---
 bookkeeper-server/bin/bookkeeper | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bookkeeper-server/bin/bookkeeper b/bookkeeper-server/bin/bookkeeper
index 54be3fe..836ad68 100755
--- a/bookkeeper-server/bin/bookkeeper
+++ b/bookkeeper-server/bin/bookkeeper
@@ -209,7 +209,7 @@ elif [ $COMMAND == "autorecovery" ]; then
 elif [ $COMMAND == "localbookie" ]; then
   NUMBER=$1
   shift
-  exec $JAVA $OPTS $JMX_ARGS org.apache.bookkeeper.util.LocalBookKeeper 
$NUMBER $BOOKIE_CONF $@
+  exec $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 $@
 elif [ $COMMAND == "shell" ]; then

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

Reply via email to