You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by je...@apache.org on 2018/08/28 21:57:05 UTC

[incubator-pulsar] branch pulsar-sql-cli-fix created (now e0d70fd)

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

jerrypeng pushed a change to branch pulsar-sql-cli-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git.


      at e0d70fd  Fix pulsar sql cli bug

This branch includes the following new commits:

     new e0d70fd  Fix pulsar sql cli bug

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-pulsar] 01/01: Fix pulsar sql cli bug

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jerrypeng pushed a commit to branch pulsar-sql-cli-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git

commit e0d70fda893892fbdf4b2ded7f303c4d2a5a5832
Author: Boyang Jerry Peng <je...@gmail.com>
AuthorDate: Tue Aug 28 14:57:02 2018 -0700

    Fix pulsar sql cli bug
---
 bin/pulsar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/pulsar b/bin/pulsar
index 5d731ed..80f2d3d 100755
--- a/bin/pulsar
+++ b/bin/pulsar
@@ -318,7 +318,7 @@ elif [ $COMMAND == "zookeeper-shell" ]; then
     exec $JAVA $OPTS org.apache.zookeeper.ZooKeeperMain $@
 elif [ $COMMAND == "compact-topic" ]; then
     exec $JAVA $OPTS org.apache.pulsar.compaction.CompactorTool --broker-conf $PULSAR_BROKER_CONF $@
-elif [ $COMMAND == "sql-cli" ]; then
+elif [ $COMMAND == "sql" ]; then
     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} run $@