pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject [incubator-pulsar] branch master updated: Fix sql cli (#2505)
Date Sat, 01 Sep 2018 16:59:33 GMT
This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 95f2bf8  Fix sql cli (#2505)
95f2bf8 is described below

commit 95f2bf8817cdc3b0a32bff153a6f7252f7fc3b3d
Author: Boyang Jerry Peng <jerry.boyang.peng@gmail.com>
AuthorDate: Sat Sep 1 09:59:31 2018 -0700

    Fix sql cli (#2505)
    
    * minor fix of sql cli args
    
    * remove debug
---
 bin/pulsar | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/pulsar b/bin/pulsar
index c2def39..9cacfe7 100755
--- a/bin/pulsar
+++ b/bin/pulsar
@@ -319,9 +319,9 @@ elif [ $COMMAND == "zookeeper-shell" ]; then
 elif [ $COMMAND == "compact-topic" ]; then
     exec $JAVA $OPTS org.apache.pulsar.compaction.CompactorTool --broker-conf $PULSAR_BROKER_CONF
$@
 elif [ $COMMAND == "sql" ]; then
-    exec $JAVA -cp "${PRESTO_HOME}/lib/*" com.facebook.presto.cli.Presto --server localhost:8081
$@
+    exec $JAVA -cp "${PRESTO_HOME}/lib/*" com.facebook.presto.cli.Presto --server localhost:8081
"${@}"
 elif [ $COMMAND == "sql-worker" ]; then
-    exec ${PRESTO_HOME}/bin/launcher --etc-dir ${PULSAR_PRESTO_CONF} $@
+    exec ${PRESTO_HOME}/bin/launcher --etc-dir ${PULSAR_PRESTO_CONF} "${@}"
 elif [ $COMMAND == "help" ]; then
     pulsar_help;
 else


Mime
View raw message