Skip to content

Commit

Permalink
Fix sql cli (apache#2505)
Browse files Browse the repository at this point in the history
* minor fix of sql cli args

* remove debug
  • Loading branch information
jerrypeng authored and merlimat committed Sep 1, 2018
1 parent cfdcdb5 commit 95f2bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pulsar
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95f2bf8

Please sign in to comment.